PDA

View Full Version : CMotion Image Gallery removing end image message?



AndrewManpoo
02-06-2011, 12:53 PM
1) Script Title: CMotion Image Gallery

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/cmotiongallery.htm

3) Describe problem: i cant seem to remove the end image message, when i do it stops the scroll working HEEEELP PLEAAASE

azoomer
02-06-2011, 01:37 PM
A cheap hack could be finding this part of the js



function moveleft(){
if (loadedyes){
movestate="left";
if (iedom&&parseInt(cross_scroll.style.left)>(menuwidth-actualwidth)){
cross_scroll.style.left=parseInt(cross_scroll.style.left)-scrollspeed+"px";
showhidediv("hidden");
}
else
showhidediv("hidden");
}
lefttime=setTimeout("moveleft()",10);
}

function moveright(){
if (loadedyes){
movestate="right";
if (iedom&&parseInt(cross_scroll.style.left)<0){
cross_scroll.style.left=parseInt(cross_scroll.style.left)+scrollspeed+"px";
showhidediv("hidden");
}
else
showhidediv("hidden");
}
righttime=setTimeout("moveright()",10);
}

And change "visible" to "hidden" as I have done above in the two instances highlighted in red. Probably not the smartest way to do it, but it seems to work.