/*********************************************** * Conveyor belt slideshow script- Dynamic Drive DHTML code library ([ندعوك للتسجيل في المنتدى أو التعريف بنفسك لمعاينة هذا الرابط] * This notice MUST stay intact for legal use * Visit Dynamic Drive at [ندعوك للتسجيل في المنتدى أو التعريف بنفسك لمعاينة هذا الرابط] for full source code ***********************************************/
//Specify the slider's width (in pixels) var sliderwidth="605px" //Specify the slider's height var sliderheight="106px" //Specify the slider's slide speed (larger is faster 1-10) var slidespeed=1 //configure background color: slidebgcolor="#485F0E"
//Specify gap between each image (use HTML): var imagegap=" "
//Specify pixels gap between each slideshow rotation (use integer): var slideshowgap=5
////NO NEED TO EDIT BELOW THIS LINE////////////
var copyspeed=slidespeed leftrightslide=''+leftrightslide.join(imagegap)+'' var iedom=document.all||document.getElementById if (iedom) document.write(''+leftrightslide+'') var actualwidth='' var cross_slide, ns_slide
function slideleft(){ if (iedom){ if (parseInt(cross_slide.style.left)>(actualwidth*(-1)+) cross_slide.style.left=parseInt(cross_slide.style.left)-copyspeed+"px" else cross_slide.style.left=parseInt(cross_slide2.style.left)+actualwidth+slideshowgap+"px"
if (parseInt(cross_slide2.style.left)>(actualwidth*(-1)+) cross_slide2.style.left=parseInt(cross_slide2.style.left)-copyspeed+"px" else cross_slide2.style.left=parseInt(cross_slide.style.left)+actualwidth+slideshowgap+"px"
} else if (document.layers){ if (ns_slide.left>(actualwidth*(-1)+) ns_slide.left-=copyspeed else ns_slide.left=ns_slide2.left+actualwidth+slideshowgap
if (ns_slide2.left>(actualwidth*(-1)+) ns_slide2.left-=copyspeed else ns_slide2.left=ns_slide.left+actualwidth+slideshowgap } }
if (iedom||document.layers){ with (document){ document.write('
') if (iedom){ write('') write('') write(' ') write(' ') write('