Pop up window - which is going to load when my index page is loading
Hello ,
i want to make pop up window - which is going to load automatically when the visitors go to my index page. i have this code which is working but is working ONLY when the visitor click on image. i need to change that function so to make it automatically runs.
my code is this one:
Code :
<script language="JavaScript" type="text/JavaScript">
<!--
function wimpyPopPlayer(theFile,id,stuff) {
window.open(theFile,id,stuff);
}
//-->
</script>
<a href="javascript:;" onClick="wimpyPopPlayer('http://vyzakos.webs.com/main.swf','wimpyMP3player','width=801,height=501')"><img src="http://vyzakos.webs.com/main.swf" border="0" align="top" onload="wimpyPopPlayer('http://vyzakos.webs.com/main.swf','wimpyMP3player','width=801,height=501')"></a>
i guess i must replace onClick... but i dont know is i am right.
Thank you :)
Re: Pop up window - which is going to load when my index page is loading
These are java forums, and java != javascript. You might try your luck on a javascript dedicated forum. I've since moved your thread to the Other Programming Languages section