»
EnglishFrenchVietnamese

Print - Mock PPT with DHTML - JavaScriptBank.com

Full version: jsB@nk » Browser » Page effect » Mock PPT with DHTML
URL: https://www.javascriptbank.com/mock-ppt-with-dhtml.html

Mock PPT with DHTML © JavaScriptBank.comMock PPT with DHTML displays you web page like a PowerPiont Presentation by repositioning h1 and span tags. Stunning effect. also resizes and repositions to maximum screen size for effect. CROSS-BROWSER (IE 5+, Netscape 7+, Mozilla 1+, Opera 7+).

Full version: jsB@nk » Browser » Page effect » Mock PPT with DHTML
URL: https://www.javascriptbank.com/mock-ppt-with-dhtml.html



CSS
<STYLE type=text/css>BODY {BACKGROUND-COLOR: gray; TEXT-ALIGN: center}H1.HUCKO {COLOR: white; BACKGROUND-COLOR: transparent; TEXT-ALIGN: center; TEXT-DECORATION: underline}SPAN.HUCKO {COLOR: white; BACKGROUND-COLOR: black; TEXT-ALIGN: center}</STYLE><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


JavaScript
<SCRIPT language=JavaScript type=text/javascript><!--window.moveTo(0,0);window.resizeTo(screen.width,screen.height);var T=10,Timer;var Richard_Hucko=window.onload=Hawaii;var elements=new Array(3);var WIDTH=screen.width,HEIGHT=screen.height;var posYelem0=HEIGHT,posXelem1=-WIDTH,posXelem2=WIDTH;Richard_Hucko;function Hawaii(){ elements=[document.getElementById('JAVASCRIPTS'),document.getElementById('RHUCKO1'),document.getElementById('RICHARD_HUCKO')]; animEffect();}function animEffect(){ if(posXelem1<0) {   with(elements[1].style)   {     left=posXelem1;   width=WIDTH;   position="relative";  }  posXelem1+=10; }// - Mock PPT (Power Piont) with DHTML (Dynamic HTML)   if(posXelem2>=-10) {   with(elements[2].style)   {     left=posXelem2;   width=WIDTH;   position="relative";  }  posXelem2-=10; } if(posYelem0>0) {   with(elements[0].style)   {     top=posYelem0;   position="relative";  }  posYelem0-=10; }  Timer=setTimeout("animEffect();",T);}//--></SCRIPT><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


HTML
<H1 class=HUCKO id=JAVASCRIPTS>JavaScriptBank.com</H1><BR><SPAN class=HUCKO id=RHUCKO1><B>Hello and Welcome to http://javascriptbank.com</B><BR>Here you&#39;ll find tons of JavaScripts and Effects for your Web Site</SPAN><BR><BR><SPAN class=HUCKO id=RICHARD_HUCKO>Feel Free to Browse Around . . .<BR><BR>If you Have any Questions or Comments Please let us know.<BR><BR><TT onclick="location.href='RePos.htm';"></TT></SPAN><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->