Jump to content


Photo
- - - - -

Pop-Up


  • Please log in to reply
1 reply to this topic

#1 itprosam

itprosam

    New WinMatrixian

  • Members
  • 2 posts

Posted 04 August 2003 - 08:24 PM

How can I make another page (already made by me) pop up when the main index page of the website is loading?

#2 Jatin

Jatin

    Administrator

  • Admin
  • 4,867 posts

Posted 04 August 2003 - 08:41 PM

Try this code:

<html>
<head><title>Internet Explorer</title>
<script language = "JavaScript">
  <!-- hide start
  function popup() {
    window.open("http://domain.com/yourpage.html","subwindow","height=500,width=700");
  }
  // hide end -->
</script>
</head>

<body onLoad="JavaScript:popup()"leftmargin="10" topmargin="10" marginheight="10" marginwidth="10">

</body>
</html>


Want to comment?

Register or Sign In to go completely ad-free!