السلام عليكم أخواني
ممكن حد يدلني على سكربت مواقع صديقه
كما بالمثال هذا الموقع
http://www.4-des.com/main.php
وشكرا لكم
السلام عليكم أخواني
ممكن حد يدلني على سكربت مواقع صديقه
كما بالمثال هذا الموقع
http://www.4-des.com/main.php
وشكرا لكم
مباشرة من الموقع بدون اي تعديلكود HTML:<SCRIPT language=JavaScript1.2> ///////configure the below four variables to change the style of the slider/////// //set the scrollerwidth and scrollerheight to the width/height of the LARGEST image in your slideshow! var scrollerwidth='400px' var scrollerheight='37px' var scrollerbgcolor='' //3000 miliseconds=3 seconds var pausebetweenimages=3000 //configure the below variable to change the images used in the slideshow. If you wish the images to be clickable, simply wrap the images with the appropriate <a> tag var slideimages=new Array() slideimages[0]='<a target="_blank" href="http://www.4yas.net"><IMG src="http://www.4yas.net/yas_smalst.gif" border=0 width="88" height="31"></a> <a target="_blank" href="http://www.algreeb.com/"><img border="0" src="../includes/frinds/algreeb5.gif" width="88" height="30"></a> <a target="_blank" href="http://www.4-red.com"><img border="0" src="http://www.4-red.com/log/4-redlogo.gif" width="88" height="31"></a>' slideimages[1]='<a target="_blank" href="http://www.3-pink.com"><IMG src="../includes/frinds/pan4.gif" border=0 width="88" height="32"></a> <a target="_blank" href="http://www.adasaty.com"><img height="31" src="http://www.adasaty.com/pal-links/adasaty-gif.gif" width="88" border="0"></a> <a target="_blank" href="http://www.forums-mania.com/"><img border="0" src="http://www.forums-mania.com/images/ban2.gif" width="88" height="31"></a>' slideimages[2]='<a target="_blank" href="http://www.des4.com/"><img border="0" src="../includes/frinds/des4.gif" width="88" height="34"></a> <a target="_blank" href="http://www.nrgse.com"><img border="0" src="http://www.nrgse.com/images/alnargsee_logo1.gif" width="88" height="31"></a> <a target="_blank" href="http://www.meeeem.com"><img border="0" src="http://www.meeeem.com/images/link.gif" width="88" height="31"></a>' slideimages[3]='<a href="http://www.100spaces.com" target="_blank"><img border="0" src="http://www.100spaces.com/images/vote_image3.gif" width="88" height="31"></a> <a href="http://elegant-mood.com/" target="_blank"><img border="0" src="../includes/frinds/elegant-mood1.jpg" width="88" height="31"></a> <a href="http://www.nnjj.net" target="_blank"><img border="0" src="../includes/frinds/nnjjads.gif" width="88" height="31"></a>' slideimages[4]='<a href="http://www.4snk.com/" target="_blank"><img border="0" src="../includes/frinds/snk_logo.gif" width="88" height="31"></a> <a href="http://www.amerabulaila.com" target="_blank"><img border="0" src="../includes/frinds/amer1.gif" width="88" height="31"></a> <a target="_blank" href="http://www.jennyfer-online.com"><img border="0" src="../includes/frinds/link-jennyfer.gif" width="88" height="31"></a>' //extend this list ///////Do not edit pass this line/////////////////////// var ie=document.all var dom=document.getElementById if (slideimages.length>1) i=2 else i=0 function move1(whichlayer){ tlayer=eval(whichlayer) if (tlayer.left>0&&tlayer.left<=5){ tlayer.left=0 setTimeout("move1(tlayer)",pausebetweenimages) setTimeout("move2(document.main.document.second)",pausebetweenimages) return } if (tlayer.left>=tlayer.document.width*-1){ tlayer.left-=5 setTimeout("move1(tlayer)",50) } else{ tlayer.left=parseInt(scrollerwidth)+5 tlayer.document.write(slideimages[i]) tlayer.document.close() if (i==slideimages.length-1) i=0 else i++ } } function move2(whichlayer){ tlayer2=eval(whichlayer) if (tlayer2.left>0&&tlayer2.left<=5){ tlayer2.left=0 setTimeout("move2(tlayer2)",pausebetweenimages) setTimeout("move1(document.main.document.first)",pausebetweenimages) return } if (tlayer2.left>=tlayer2.document.width*-1){ tlayer2.left-=5 setTimeout("move2(tlayer2)",50) } else{ tlayer2.left=parseInt(scrollerwidth)+5 tlayer2.document.write(slideimages[i]) tlayer2.document.close() if (i==slideimages.length-1) i=0 else i++ } } function move3(whichdiv){ tdiv=eval(whichdiv) if (parseInt(tdiv.style.left)>0&&parseInt(tdiv.style.left)<=5){ tdiv.style.left=0+"px" setTimeout("move3(tdiv)",pausebetweenimages) setTimeout("move4(scrollerdiv2)",pausebetweenimages) return } if (parseInt(tdiv.style.left)>=tdiv.offsetWidth*-1){ tdiv.style.left=parseInt(tdiv.style.left)-5+"px" setTimeout("move3(tdiv)",50) } else{ tdiv.style.left=scrollerwidth tdiv.innerHTML=slideimages[i] if (i==slideimages.length-1) i=0 else i++ } } function move4(whichdiv){ tdiv2=eval(whichdiv) if (parseInt(tdiv2.style.left)>0&&parseInt(tdiv2.style.left)<=5){ tdiv2.style.left=0+"px" setTimeout("move4(tdiv2)",pausebetweenimages) setTimeout("move3(scrollerdiv1)",pausebetweenimages) return } if (parseInt(tdiv2.style.left)>=tdiv2.offsetWidth*-1){ tdiv2.style.left=parseInt(tdiv2.style.left)-5+"px" setTimeout("move4(scrollerdiv2)",50) } else{ tdiv2.style.left=scrollerwidth tdiv2.innerHTML=slideimages[i] if (i==slideimages.length-1) i=0 else i++ } } function startscroll(){ if (ie||dom){ scrollerdiv1=ie? first2 : document.getElementById("first2") scrollerdiv2=ie? second2 : document.getElementById("second2") move3(scrollerdiv1) scrollerdiv2.style.left=scrollerwidth } else if (document.layers){ document.main.visibility='show' move1(document.main.document.first) document.main.document.second.left=parseInt(scrollerwidth)+5 document.main.document.second.visibility='show' } } window.onload=startscroll </SCRIPT> <ILAYER id=main visibility="hide" bgColor="&{scrollerbgcolor};" height="&{scrollerheight};" width="&{scrollerwidth};"><LAYER id=first width="&{scrollerwidth};" top="0" left="1"> <SCRIPT language=JavaScript1.2> if (document.layers) document.write(slideimages[0]) </SCRIPT> </LAYER><LAYER id=second visibility="hide" width="&{scrollerwidth};" top="0" left="0"> <SCRIPT language=JavaScript1.2> if (document.layers) document.write(slideimages[1]) </SCRIPT> </LAYER></ILAYER> <SCRIPT language=JavaScript1.2> if (ie||dom){ document.writeln('<div id="main2" style="position:relative;width:'+scrollerwidth+';height:'+scrollerheight+';overflow:hidden;background-color:'+scrollerbgcolor+'">') document.writeln('<div style="position:absolute;width:'+scrollerwidth+';height:'+scrollerheight+';clip:rect(0 '+scrollerwidth+' '+scrollerheight+' 0);left:0px;top:0px">') document.writeln('<div id="first2" style="position:absolute;width:'+scrollerwidth+';left:1px;top:0px;">') document.write(slideimages[0]) document.writeln('</div>') document.writeln('<div id="second2" style="position:absolute;width:'+scrollerwidth+';left:0px;top:0px">') document.write(slideimages[1]) document.writeln('</div>') document.writeln('</div>') document.writeln('</div>') } </SCRIPT>
شكرا لك أخوي ماقصرت