SlideShow

ID
Nazov / Name:
Popis / Description:
Dlzka / Length:
Testovane pod / Tested under:

 

042
p042.html / p042.zip
Efekt SlideShow
1872b
NN 4.04

UKAZKA / CLICK HERE

Zdrojovy tvar / Source code:

<html> <head> <title> JavaScript DESTINATION - P042 </title> <script language="JavaScript"> <!-- function makeArray() { this.length = makeArray.arguments.length; for (var i = 0; i < this.length; i++) this[i + 1] = makeArray.arguments[i]; } function makeSlideShow (obj, wait, pre, url) { this.curText = ''; this.posit = 1; this.word = obj; this.length = obj.length; this.pre = pre; this.wait = wait; this.url = url; this.display = displaySlideShow; } function displaySlideShow() { if (this.posit <= this.length) { this.curText = this.word[this.posit] outStringWord = blankFrameTop + this.pre + this.curText + blankFrameBottom; parent.draw.location = 'javascript:parent.outStringWord'; this.posit++; } else top.location = this.url; } function displayLoop() { if (wordIntro.posit <= wordIntro.length) reDraw = setTimeout('displayLoop()', wordIntro.wait); wordIntro.display(); } var words=new makeArray ('<img src="images/title.gif">','<font color="yellow">Vam predstavuje Slide Show !</font>', '<font color="cyan">Tak nevahajte a umiestnite si ju na svoje stranky !</font>', '<font color="red" size="15">THE END</font>'); var wordIntro=new makeSlideShow (words, 3500, '','t042.html'); var blankFrameTop='<html><body bgcolor="black" text="red"><TABLE width="100%" height="100%"><TR><TD ALIGN=CENTER><H2>'; var blankFrameBottom='</TD></TR></TABLE></body></html>'; var blankFrame=blankFrameTop + blankFrameBottom; document.write('<frameset onLoad="displayLoop()" ROWS="100%, *" FRAMEBORDER=NO BORDER=0>'); document.write('<frame scrolling=auto src="javascript:parent.blankFrame" NAME="draw" MARGINWIDTH=2 MARGINHEIGHT=2>'); document.write('</frameset>'); // --> </script> </head> <body> </body> </html>
[ Navrat / BACK ]