[Pro] hover to stop slides?

I am using an Exhibeo “slide” theme on a site. Is there a way to get the slides to stop sliding if the cursor is moved onto the slide? My purpose would be to give the viewer a little more time to look at something on a particular slide.
Thanks - Ted


Exhibeo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Ted,
Looking at the slide code it doesn’t look like it supports pausing the timer. The closest I’ve come is to clear the timer when the user hovers over the slide and restart it again when they mouse off again.

Here’s an example;
http://www.freewayactions.com/test/exhibeo-pause-slide/

And here’s the code;

<script>
	//pause the animation on mouseover
	var el = document.getElementById("slide_exibid");
	el.onmouseover = function(){ window.slide_exibidSlide.resetTimer(); }
	el.onmouseout = function(){ window.slide_exibidSlide.startTimer(); }
</script>

Copy and paste this into your host HTML page before the end of the body (Page > HTML Markup > Insert Before if you are using Freeway). The code isn’t perfect as the timer (the blue bar at the top of the image) gets reset rather than paused and the code doesn’t look like it wants to run while the images are animating. If you are happy with those limitations then it should do what you want.
Regards,
Tim.

On 17 Jul 2014, at 21:57, Ted wrote:

Is there a way to get the slides to stop sliding if the cursor is moved onto the slide?


Exhibeo mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options