Hello did you figure this out.
I try to do the same but with more scripts and css.
Also how to define page in if/else if it custom.php for example.
thank you
Quote:
Originally Posted by anandat
I want if else statement for static page.
For example if visitor click on static page link. The following javascript should be load
Code:
<head>
<script language="Javascript" src="http://gd.geobytes.com/Gd?after=-1"></script>
<script language="javascript">
if(typeof(sGeobytesLocationCode)!="undefined"&&sGeobytesLocationCode.indexOf('US')==0)
{
document.write("<META HTTP-EQUIV='Refresh' CONTENT='0; URL=http://www.SomeDomain.com'>");
}
</script>
</head>
In short what if/else condition I should put between <head> </head> so that above javascript function load if person open static page id=1 ?
|