PDA

View Full Version : Resolved Ultimate Fade-in slideshow:eliminate onmouseover pause



avdistribution
06-26-2010, 04:48 PM
1) Script Title: Ultimate Fade-in slideshow (v2.4)

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.htm

3) Describe problem:
How would I adjust the script to eliminate the onMouseover pause? I'd like it to run regardless of mouse position.
Thanks!

azoomer
06-26-2010, 10:00 PM
Hi avdistribution. I tried to figure out how to do as you request. I am on thin ice with this but what I tried was to find line 79 and 80 in the fadeslideshow.js and outcomment them like this:

// setting.$wrapperdiv.bind('mouseenter', function(){setting.ismouseover=true}) //pause slideshow mouseover
// setting.$wrapperdiv.bind('mouseleave', function(){setting.ismouseover=false})
It seems to do the trick but I don't know if there are any adverse-effects. !

avdistribution
06-26-2010, 10:17 PM
Yeah, I just figured it out and came back to post what worked for me:

a.$wrapperdiv.bind("mouseenter",function(){a.ismouseover=false});

Thanks for the response!!

nick-33
07-20-2010, 09:21 AM
Hello,

I'm pretty much a complete newbie - where do I put these proposed fixes in terms of the code provided?

Edit: I'm an idiot. All fixed :)