enyo / opentip

Opentip is an open source javascript tooltip based on the protoype framework.
http://www.opentip.org
1.25k stars 401 forks source link

Is there any way to control the mouseover time length before a tip shows? #98

Closed dorseyjon closed 10 years ago

dorseyjon commented 10 years ago

I'm using opentip on forms, and I often rollover a trigger element quickly, not intending to see the tip as I'm navigating around from field to field with a mouse. Is there any way to put a time length on the mouseover (say 1 sec) that once reached, will show the tip? Basically, I'm looking for a setTimeout to show the tip on mouseover after 1 sec, and a cancel timeout when onmouseout if it doesn't reach 1 sec.

dorseyjon commented 10 years ago

I should mention this is specifically for tips that stay open once shown (with the closeButton option)

dorseyjon commented 10 years ago

nevermind - I found out how to do this - delay:1, hidetrigger:target.