<!-- SCROLLING POP-UP - I --> <!-- This goes in the HEAD of the html file that contains the link to open the pop-up window --> <script language="javascript" type="text/javascript"> <!-- Copyright 2001, Sandeep Gangadharan --> <!-- For more free scripts go to http://sivamdesign.com/scripts/ --> <!-- function slidepop() { if (navigator.appName == "Microsoft Internet Explorer") { SW=window.open('slides.html','NewWin','toolbar=no,menubar=no,location=no,resizable=no,status=no,width=350,height=135,scrollbars=no') } else { SW=window.open('slides.html','NewWin','toolbar=no,menubar=no,location=no,resizable=no,status=no,width=350,height=135,scrollbars=yes') } // change the figures of width and height above to customize the size of the window to be opened. SW.moveTo(190,240); // change the #s at the left to adjust the left and top margins respectively } // --> </script> <!-- This goes into the body of the file --> <a href="javascript:slidepop();">Click</a> to open slides pop-up window. <!-- ======================================================================================= --> <!-- This goes in the HEAD of the html file that shall be the slides pop-up --> <!-- This file should be named 'slides.html' --> <script language="JavaScript" type="text/javascript"> <!-- Copyright 2001, Sandeep Gangadharan --> <!-- For more free scripts go to http://sivamdesign.com/scripts/ --> <!-- var sec = 0; function scrolldown() { sec++; if (sec == 3) { window.location.href="#a"; } if (sec == 5) { window.location.href="#b"; } if (sec == 7) { window.location.href="#c"; } if (sec == 9) { window.close(); } window.setTimeout("scrolldown();", 3000); // change the # 3000 at the left to adjust the speed of the } // scroll. The higher the number, the slower the scroll //--> </script> <!-- This is the script to be included in the BODY tag --> <!--Note the addition to the BODY tag--> <body onLoad="scrolldown();" bgcolor="#ffff00"> <div align="center"> <font face="verdana, arial, helvetica, sans-serif" size="2"><br /><br /> Below are 3 images. Watch how the script moves from one image to the other! </font><br /><br /><br /> <a name="a"><br /><br /> <a href="file.html" target="_blank"><img src="img1.gif" border="0" /></a><br /><br /><br /> <br /><br /><br /> <a name="b"><br /><br /> <a href="file.html" target="_blank"><img src="img2.gif" border="0" /></a><br /><br /><br /> <br /><br /><br /> <a name="c"><br /><br /> <a href="file.html" target="_blank"><img src="img3.gif" border="0" /></a><br /><br /><br /> <br /> </div>