»
EnglishFrenchVietnamese

Print - Welcome Window - JavaScriptBank.com

Full version: jsB@nk » Browser » Welcome Window
URL: http://www.javascriptbank.com/welcome-index.html

Welcome Window © JavaScriptBank.comThis JavaScript creates an intro frame which will disappear after 20 seconds.

Full version: jsB@nk » Browser » Welcome Window
URL: http://www.javascriptbank.com/welcome-index.html



JavaScript
<SCRIPT language=JavaScript><!--posy = 100;some1=0;if ((IE>=4)||(NAV==4)) some1=1;function start() {timerID=setTimeout('move()', 20000);}function move() {posy=posy-(((170-posy)/10)+1);if (IE>=4) {fnf.style.top=posy; if (posy> -290) timerID=setTimeout('move()',30);}else if (NAV ==4) {document.fnf.pageY=posy; if (posy> -290) timerID=setTimeout('move()',30);}}//--></SCRIPT><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


HTML
<body onload="startup('0');"><SCRIPT language=JavaScript src="menu1.js"></SCRIPT><SCRIPT language=JavaScript src="menu2.js"></SCRIPT><DIV id=fnf style="height: 248; left: 189; position: absolute; top: 150; width: 398; z-index: 1"><TABLE border=0 cellPadding=0 cellSpacing=0 height=141 width=392><TBODY><TR><TD height="5"><IMG height=5 src="fnf-top.gif" width="392"></TD></TR><TR><TD align=middle background="fnf-bod.gif" bgColor=#ffcc00 height="133" vAlign=center><p align="center"><IMG alt="Welcome to JavaScriptBank.com" height=50 src="../../image/logojs.gif" width=160><BR><p align="center"><font color="#000000">Do not modify the link named &quot;Continue&quot; orthe window won't close anymore except after 20 seconds when the window starts to raise automatically. If you are using FrontPage you should<br>see the window on the Normal view. Configure the window<br>just how you like (don't modify the background color) then move it to the top ofthe page (get it out of site) and you can edit the page normally adding you pagecontents. Good luck.</font><font color="#FFFFFF"><BR></font><FONT face="Verdana, Arial" size=2><BR><font color="#0000FF" size="2" face="Verdana, Arial"><a class="linknero" href="#" onclick="move();return false;"><u><span style="color: #0000FF">Continue<BR></span></u></a></font></FONT></TD></TR><TR><TD height="7"><IMG height=7 src="fnf-bot.gif" width=392></TD></TR></TBODY></TABLE></DIV><SCRIPT language=Javascript><!--function startup(n){bat=0;if ((NAV==4)&&(WIN==1)) {IN1 = indice("p1");document.layers[IN1].pageY = MN_Y;document.layers[IN1].pageX = MN_X;for (i=IN1; i<document.layers.length; i++) {e = document.layers[i];if (e.id.indexOf("c") != -1) e.visibility = "hide";if (e.id.indexOf("p") != -1) e.visibility = "show";}posiziona_Y();if (n>0) espandi(n);} else if (IE>=4) {t = document.all.tags("DIV");for (i=0; i<t.length; i++) {if (t(i).className == "child") t(i).style.display = "none";if (t(i).className == "lastchild") t(i).style.display = "none";}if (n>0) espandi(n);}}//--></SCRIPT><SCRIPT language=JavaScript1.2><!--if (IE>=4){fnf.style.top=posy;start();}else if (NAV==4){timerID2=setTimeout('document.fnf.pageY=posy; document.fnf.pageX=195;', 2000);start();}//--></SCRIPT></body><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


Files
http://javascriptbank.com/javascript/browser/welcome/menu1.jshttp://javascriptbank.com/javascript/browser/welcome/menu2.js