<P> <SCRIPT language=JavaScript1.2> </P> <P></P> <P>/***********************************************<BR>* Flexi Slideshow- © Dynamic Drive (<A href="http://www.dynamicdrive.com/">www.dynamicdrive.com</A>)<BR>* This notice must stay intact for use<BR>* Visit <A href="http://www.dynamicdrive.com/">http://www.dynamicdrive.com/</A> for full source code<BR>***********************************************/</P> <P>var variableslide=new Array()</P> <P>//variableslide[x]=["path to image", "OPTIONAL link for image", "OPTIONAL text description (supports HTML tags)"]</P> <P>variableslide[<FONT color=#00cc00>0</FONT>]=['<A href="http://www.net-cafe.hu/wallpapers/00000012.jpg"><FONT color=#ff0000>http://www.net-cafe.hu/wallpapers/00000012.jpg</FONT></A>', '', '']<BR>variableslide[<FONT color=#00cc00>1</FONT>]=['<FONT color=#ff0000>http://www.net-cafe.hu/wallpapers/00000015.jpg</FONT>', '', '']<BR><FONT color=#000099>variableslide[<FONT color=#00cc00>2</FONT>]=['http://www.net-cafe.hu/wallpapers/00000013.jpg', '', '']<BR></FONT>//configure the below 3 variables to set the dimension/background color of the slideshow</P> <P>var slidewidth='130px' //set to width of LARGEST image in your slideshow<BR>var slideheight='100px' //set to height of LARGEST iamge in your slideshow, plus any text description<BR>var slidebgcolor='#F3F3F3'</P> <P>//configure the below variable to determine the delay between image rotations (in miliseconds)<BR>var slidedelay=3000</P> <P>////Do not edit pass this line////////////////</P> <P>var ie=document.all<BR>var dom=document.getElementById</P> <P>for (i=0;i<variableslide.length;i++){<BR>var cacheimage=new Image()<BR>cacheimage.src=variableslide[i][0]<BR>}</P> <P>var currentslide=0</P> <P>function rotateimages(){<BR>contentcontainer='<center>'<BR>if (variableslide[currentslide][1]!="")<BR>contentcontainer+='<a href="'+variableslide[currentslide][1]+'">'<BR>contentcontainer+='<img src="'+variableslide[currentslide][0]+'" border="0" vspace="3">'<BR>if (variableslide[currentslide][1]!="")<BR>contentcontainer+='</a>'<BR>contentcontainer+='</center>'<BR>if (variableslide[currentslide][2]!="")<BR>contentcontainer+=variableslide[currentslide][2]</P> <P>if (document.layers){<BR>crossrotateobj.document.write(contentcontainer)<BR>crossrotateobj.document.close()<BR>}<BR>else if (ie||dom)<BR>crossrotateobj.innerHTML=contentcontainer<BR>if (currentslide==variableslide.length-1) currentslide=0<BR>else currentslide++<BR>setTimeout("rotateimages()",slidedelay)<BR>}</P> <P>if (ie||dom)<BR>document.write('<div id="slidedom" style="width:'+slidewidth+';height:'+slideheight+'; background-color:'+slidebgcolor+'"></div>')</P> <P>function start_slider(){<BR>crossrotateobj=dom? document.getElementById("slidedom") : ie? document.all.slidedom : document.slidensmain.document.slidenssub<BR>if (document.layers)<BR>document.slidensmain.visibility="show"<BR>rotateimages()<BR>}</P> <P>if (ie||dom)<BR>start_slider()<BR>else if (document.layers)<BR>window.onload=start_slider</P> <P></SCRIPT> </P> <P> <HR>
<P></P> <P>Ezt azért ide tettem mert lecserélheted a képeket és ha lecserélted egyedi lesz:))</P> <P>variableslide[<FONT color=#00cc00>0</FONT>]=['<A href="http://www.net-cafe.hu/wallpapers/00000012.jpg"><FONT color=#ff0000>http://www.net-cafe.hu/wallpapers/00000012.jpg</FONT></A>', '', '']<BR>variableslide[<FONT color=#00cc00>1</FONT>]=['<FONT color=#ff0000>http://www.net-cafe.hu/wallpapers/00000015.jpg</FONT>', '', '']<BR><FONT color=#000099>variableslide[<FONT color=#00cc00>2</FONT>]=['http://www.net-cafe.hu/wallpapers/00000013.jpg', '', '']</FONT></P> <P><FONT color=#ffffff>írd át az URL címeket és a képek megváltoznak!</FONT></P> |