You are here

  1. Forums
  2. » WEB
  3. » Web programming

HTML Page popup autoload

Submitted by admin on

Forums: 

Use the following example to automatically popup two windows upon html page load.

  • Copy and paste the following code into yourt file.
  • Save the file with extension .hmtl, the open it and see the results.

_________________________________________________________________________________________

<HEAD>
<SCRIPT TYPE="text/javascript">
<!--
function popup()
{
window.open('http://www.mywikistep.com', 'mywikistep', 'fullscreen,scrollbars=yes');
window.open('http://mywikistep.com/2012_Employment_trends','Trends', 'width=400,height=200,menubar=0,status=0, statusbar=0, driectories=0,toolbar=0, location=0,resizable=0, scrollbars=no');
return false;
}
//-->
</SCRIPT>
</HEAD>
<BODY   topmargin=0 leftmargin=0 bottommargin=0 rightmargin=0 marginwidth=0 marginheight=0
onLoad="popup() ">

_________________________________________________________________________________________

Who's online

There are currently 0 users online.

Counter

  • Site Counter:7,065,390
  • Unique Visitor:1,506,944
  • Published Nodes:139
  • Your IP:54.224.121.67
  • Visitors:
    • Today:17