PDA

View Full Version : :: Presentational Slideshow Script link issues



samalyas
08-27-2011, 07:31 AM
1) :: Presentational Slideshow Script

2) http://www.dynamicdrive.com/dynamicindex14/presentationslide.htm


3) how can i disable link to the first drop image?
i have droplinks[0]=""
and the first image only is clickable to homepage?

thank you

jscheuer1
08-27-2011, 09:58 AM
Find the startit() function:


function startit(){
var crossobj=ie4? eval("document.all."+curcanvas) : document.getElementById(curcanvas)
crossobj.innerHTML='<a href="'+droplinks[curimageindex]+'"><img src="'+dropimages[curimageindex]+'" border=0></a>'
rotateimage()
}

Replace it with this one:


function startit(){
var crossobj=ie4? eval("document.all."+curcanvas) : document.getElementById(curcanvas)
crossobj.innerHTML=(droplinks[curimageindex]? '<a href="'+droplinks[curimageindex]+'">' : '') +
'<img src="'+dropimages[curimageindex]+'" border=0>' + (droplinks[curimageindex]? '</a>' : '');
rotateimage()
}

samalyas
08-27-2011, 02:37 PM
thank you for your quick response, it worked