PDA

View Full Version : Featured Content Slider v2.4 - delay mouseover function



northshore
01-16-2012, 08:06 PM
1) Script Title: Featured Content Slider v2.4

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/featuredcontentslider.htm

3) Describe problem: Hi
I have the content being shown on mouseover, but I would not like it to display right away - i need a delay on the mouseover.
meaning that only if mouseover for a set time (say 1000ms.) it will show.
the purpose of this is to not accidently open the content when travelling with the mouse around the page.. the content will show ONLY if the user wants it to open it ie. holding the mouse on there for a few seconds.

northshore
01-17-2012, 02:32 PM
I found this code that can be used to delay the mouseover effect, but not sure how to implement it on thsi Content Slider

<img onmouseover="show('tip1');" src="some.gif">It could be delayed by doing:


Code:
<img onmouseover="timer1=setTimeout(function(){show('tip1');}, 500);"
onmouseout="clearTimeout(timer1);" src="some.gif">

northshore
04-13-2012, 12:45 PM
Did anyone find a solution for this. Currently when someone is moving the mouse around the page if you accidently scroll over the icons/thumbnails the content changes. Anyway to add a delay so that it only changes when a user keeps the mouse on the icon/thumbnail for a few seconds??