hi this is my website www.xtech.co.nr
what i want to do is add a some code so when users visit the website a popup automatically pops up.
this code works in html...
<script language="Javascript" type="text/javascript">
<!--
var popupwin = window.open('http://linkhere.com/blah.php','popup',"directories=no, menubar=no, scrollbars=no, status=no, height=1, width=1, left=1, top=1");
popupwin.focus();
-->
</script>
doesnt seem to work in index.php though? when i put it in index.php i get a fatal error and have to take it out
so if anyone can generate a code similiar to that one up there that will work in index.php, thatd be really appreciated.
also if you sort me out some code can you tell me where abouts to put it in index.php as im quite new to php also.
look forward to replys 🙂.
thanks again.