Hi,
N00b as I am, I have a little problem:
I have a gamesite. When a user clicks on a game, a Js script has to check if he has our app installed and if not, it redirects him to our landing page, where he can install that app.
This is my code so far, but it does not work:
<html>
<head>
<script language="javascript">
myApp=0;
function myAppInit(tool)
{ myApp=1
}
</script>
<script language="javascript">
function checkmyApp(){
if(myApp!=1) window.location.href="http://mydomain.com/MediaGate/tabid/199/language/en-US/Default.aspx";}
</script>
</head>
<body>
<a href="myfile.swf">Click here</a>
</body>
</html>