Saturday, July 27, 2013

Dynamic Drive or DHTML Codes for slow motion slide show.

Hey guys you are searching for motion slide show.This is what when you put your mouse cursor on it it stops and a link come through.Suppose you are seeing three pictures and all these pictures are linked with some sources.When you put your mouse cursor the links come on and slide stops.This motion type DHTML Dynamic Drive is generally used in Songs site.But if you want to put in your website or blog then you are to paste only change the iink which is in Red color and yellow color.
 Change Red color link your your website link
Change yellow color with your image ink.




<script type="text/javascript">

/***********************************************
* Conveyor belt slideshow script-  Dynamic Drive DHTML code library (mylabofblogger.blogspot.in)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://mylabofblogger.in/ for full source code
***********************************************/


//Specify the slider's width (in pixels)
var sliderwidth="200px"
//Specify the slider's height
var sliderheight="100px"
//Specify the slider's slide speed (larger is faster 1-10)
var slidespeed=5
//configure background color:
slidebgcolor="#EAEAEA"

//Specify the slider's images
var leftrightslide=new Array()
var finalslide=''
leftrightslide[0]='<a href="http://mylabofblogger.blogspot.in/2013/07/total-security-for-imac-and-mac-book.html"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnPFmI6lrArpG0xRX_-ILxR6hhG86qoqGiB0HZL7vPKsjBd2D5i3Fwqc-aOJdOxopsaYva2276H4UZLz3jb824L9Dwatb1FNRE2iVkAzauJIOL04cBdYZDoIH8lg8piA6_63sBU0goyEj1/s315/mac_security_1.png" border=1></a>'
leftrightslide[1]='<a href="http://mylabofblogger.blogspot.in/2013/06/without-adsense-many-ways-to-earn-money.html"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzBcr9yWmaFF1jjLYhVnQty7zI4sCg8ZE_HuX010bLsSEMIME8gqXWB52mCnwmoObXqv_2_7uy6q8pCC1GyCg5H6w6Rkhzxb8j4ElBlS5iG1Cum70gaT7iAC9qSxzcBI27bMVHvH0O8KYY/s510/Top+alternatives.png" border=1></a>'
leftrightslide[2]='<a href="http://mylabofblogger.blogspot.in/2013/07/download-latest-windows-81-in-every.html"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpb5w5co_LzRzl2d3OnjMF5YzgBc-4a-0KttW1WHzlIM4OQPEjNwuF4rsFPv1_CjlruKsodTsLzjD_t5ANsAaYG3-5Vn1NPPyiPPAPOQMFoVWWKOwZwBCRygSihwSCrhzwamFgjCWtcBMt/s320/Windows-8.1-600x411.jpg" border=1></a>'
leftrightslide[3]='<a href="http://mylabofblogger.blogspot.in/2013/07/download-latest-free-full-version-pc.html"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiaFiGTt2n5FFjlZLRaNkVGUIABWDTJME5etICZMnUGSy-EBSDfHgeataGAYWUB7252KtpRJUMUALFv8MxT0i22OjNvPP4fs7hZb1jus1zqLvHXpYUrKn8I5_Uu1nSG7uud0rAPxmbyIfMt/s200/Murder+in+new+york.jpg" border=1></a>'
leftrightslide[4]='<a href="http://mylabofblogger.blogspot.in/2013/06/fastest-processor-amd-fx-9590-released.html"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrkpaTtjSzyw6XGm3ctFCAg5o5LNsGq2-2yfvY5mBXAZJBU6XXS0r6gHgoc2-v1__FQf0Yd9ArMogpCw5jjIsr-JrL-onLTZhA9GCUp-GJjbPLJRlTl8ZIwqKtKJaXM4lH8fqwQ8452kmW/s320/amdfx.jpg" border=1></a>'

//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='<nobr>'+leftrightslide.join(imagegap)+'</nobr>'
var iedom=document.all||document.getElementById
if (iedom)
document.write('<span id="temp" style="visibility:hidden;position:absolute;top:-100px;left:-9000px">'+leftrightslide+'</span>')
var actualwidth=''
var cross_slide, ns_slide

function fillup(){
if (iedom){
cross_slide=document.getElementById? document.getElementById("test2") : document.all.test2
cross_slide2=document.getElementById? document.getElementById("test3") : document.all.test3
cross_slide.innerHTML=cross_slide2.innerHTML=leftrightslide
actualwidth=document.all? cross_slide.offsetWidth : document.getElementById("temp").offsetWidth
cross_slide2.style.left=actualwidth+slideshowgap+"px"
}
else if (document.layers){
ns_slide=document.ns_slidemenu.document.ns_slidemenu2
ns_slide2=document.ns_slidemenu.document.ns_slidemenu3
ns_slide.document.write(leftrightslide)
ns_slide.document.close()
actualwidth=ns_slide.document.width
ns_slide2.left=actualwidth+slideshowgap
ns_slide2.document.write(leftrightslide)
ns_slide2.document.close()
}
lefttime=setInterval("slideleft()",30)
}
window.onload=fillup

function slideleft(){
if (iedom){
if (parseInt(cross_slide.style.left)>(actualwidth*(-1)+8))
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)+8))
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)+8))
ns_slide.left-=copyspeed
else
ns_slide.left=ns_slide2.left+actualwidth+slideshowgap

if (ns_slide2.left>(actualwidth*(-1)+8))
ns_slide2.left-=copyspeed
else
ns_slide2.left=ns_slide.left+actualwidth+slideshowgap
}
}


if (iedom||document.layers){
with (document){
document.write('<table border="0" cellspacing="0" cellpadding="0"><td>')
if (iedom){
write('<div style="position:relative;width:'+sliderwidth+';height:'+sliderheight+';overflow:hidden">')
write('<div style="position:absolute;width:'+sliderwidth+';height:'+sliderheight+';background-color:'+slidebgcolor+'" onMouseover="copyspeed=0" onMouseout="copyspeed=slidespeed">')
write('<div id="test2" style="position:absolute;left:0px;top:0px"></div>')
write('<div id="test3" style="position:absolute;left:-1000px;top:0px"></div>')
write('</div></div>')
}
else if (document.layers){
write('<ilayer width='+sliderwidth+' height='+sliderheight+' name="ns_slidemenu" bgColor='+slidebgcolor+'>')
write('<layer name="ns_slidemenu2" left=0 top=0 onMouseover="copyspeed=0" onMouseout="copyspeed=slidespeed"></layer>')
write('<layer name="ns_slidemenu3" left=0 top=0 onMouseover="copyspeed=0" onMouseout="copyspeed=slidespeed"></layer>')
write('</ilayer>')
}
document.write('</td></table>')
}
}
</script>

<p align="center"><font face="Arial" size="-2">Free DHTML scripts provided by<br />
<a href=""></a></font></p>

0 comments:

Post a Comment

Gamer City z

Free for your eye videos