You will recieve your password to this address. Address is not made public.

Your preferred username that is used when logging in.

Tooltip with timeout Created Jun 8, 2009

This thread is solved

Views: 5258     Replies: 12     Last reply Dec 1, 2011  
You must login first before you can use this feature

ingegnerlillo

Posts: 5

Registered:
Jun 8, 2009

Tooltip with timeout

Posted: Jun 8, 2009

Hi everybody, is it possible to add a timeout before tooltips are shown?

I've tried to use it with a lighbox-like gallery, but too many tooltips are shown if I move mouse fast hover image...

You can see it therehttp://lillo.lilik.it/gate/galleria.php

Thank you in advance and sorry for my poor english

Tero
Author of jQuery Tools and this website + JavaScript developer of Flowplayer.

Posts: 1867

Registered:
Nov 16, 2007

» Tooltip with timeout

Posted: Jun 9, 2009

Reply to: Tooltip with timeout, from ingegnerlillo
Hello. Currently no but this feature should definitely be there. I'll add this to the upcoming features list.

Thanks!

ingegnerlillo

Posts: 5

Registered:
Jun 8, 2009

» » Tooltip with timeout

Posted: Jun 9, 2009

Reply to: » Tooltip with timeout, from tipiirai
Thank you so much for this fast answer!

I've tried to substitute hover with overintent in jquery_tools.js, defined in this jquery plugin, but it doesn't work :(

http://cherne.net/brian/resources/jquery.hoverIntent.html

Maybe it could be a good point of start for you.

Greetings

Edit: Breaking news! :D
The problem is that if you "mouseout" from trigger area while tooltip is still sliding, It doesn't call the hide() function.

In fact, it works well if I set SlideInSpeed and slideOutSpeed to a very low value, but sliding animation is not perceptible...

w3cko

Posts: 1

Registered:
Jun 10, 2009

» » » Tooltip with timeout

Posted: Jun 10, 2009

Reply to: » » Tooltip with timeout, from ingegnerlillo
| Edit: Breaking news! :D
| The problem is that if you "mouseout" from trigger area while
| tooltip is still sliding, It doesn't call the hide() function.

I also noticed this. It makes your tooltip stay in position without hiding, and the result is quite "funny" with a list of link, each one calling its own tooltip...

Is this behavior normal or is there any solution to solve the problem ? I only have basic skills in JS so the answer can seem obvious, but not for me :o. But thanks in advance.

Kudos for the tools though, I started using them yesterday an keep on exploring possibilities.

Tero
Author of jQuery Tools and this website + JavaScript developer of Flowplayer.

Posts: 1867

Registered:
Nov 16, 2007

» » » » Tooltip with timeout

Posted: Jun 10, 2009

Reply to: » » » Tooltip with timeout, from w3cko
try setting zero for the delay property. You cannot see problems in this demo:

http://flowplayer.org/tools/demos/tooltip/table.html

having said that you have a point here. I need to ensure that the hide() is called when it's needed. I'm adding this to the list of fixes.

ingegnerlillo

Posts: 5

Registered:
Jun 8, 2009

» » » » » Tooltip with timeout

Posted: Jun 10, 2009

Reply to: » » » » Tooltip with timeout, from tipiirai
I've try it, but it doesn't work.

I think that the problem is that while sliding the tooltip it doesn't catch the mouseover event.

In fact, it works if you set slideInSpeed to 0...

Tero
Author of jQuery Tools and this website + JavaScript developer of Flowplayer.

Posts: 1867

Registered:
Nov 16, 2007

» » » » » » Tooltip with timeout

Posted: Jun 10, 2009

Reply to: » » » » » Tooltip with timeout, from ingegnerlillo
ok. I have now made a fix to the tooltip which can be downloaded here:

http://flowplayer.org/demos/test/tools.tooltip-1.0.1.js

http://flowplayer.org/demos/test/tools.tooltip-1.0.1.min.js

This will be released on Tools 1.0.2 next week.

ingegnerlillo

Posts: 5

Registered:
Jun 8, 2009

» » » » » » » Tooltip with timeout

Posted: Jun 11, 2009

Reply to: » » » » » » Tooltip with timeout, from tipiirai
Woah! Now it works like a charm!

Thank you so much for this super-fast fix!

And keep on this outstanding work!

Greetings from Italy!

Tero
Author of jQuery Tools and this website + JavaScript developer of Flowplayer.

Posts: 1867

Registered:
Nov 16, 2007

» » » » » » » » Tooltip with timeout

Posted: Jun 12, 2009

Reply to: » » » » » » » Tooltip with timeout, from ingegnerlillo
hello. this chnage is now on the official release.