Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Delay a hover affect Re: Delay a hover affect

#74664
noahgelman
Participant

Hmmm… @tbwcf, that’s close. There’s a small detail I forgot to mention. If when the delay is over, if the mouse isn’t still over the element that’s activates the hover, I dont want the hover to activate.

That way if the user’s mouse accidentally goes over the element for a split second, the div wont randomly appear a second or 2 later. I want them to have to hold it over the element.