#241 ✓resolved
oliver.schmid (at webgarten)

Tooltip problem

Reported by oliver.schmid (at webgarten) | May 10th, 2010 @ 02:47 PM

Hi

First thanks for your great work!!

I try to make a collection of webdesign rules and I used rightjs for my tooltip. Now when I move the mouse fast for a while the tooltip suddenly disappear:
http://www.webgarten.ch/webdesign/

I am not sure if it is becouse of the way I am including it. My programming skills are not so good. I just add it on the a tag that way:

Is it wrong the way I have done it?

Thanks - Oliver

Comments and changes to this ticket

  • MadRabbit

    MadRabbit May 10th, 2010 @ 05:42 PM

    • State changed from “new” to “invalid”

    Hi Oliver,

    The problem is that with those mousemove event you cause lots of rapid page transformations. For example the $eval function inserts a SCRIPT tag and any call of any visual effect makes the script to insert a dummy hidden element on the page to calculate the final styles.

    When you do lots of things like that quickly, at some point the browser looses the focus over the 'A' element layer, which consequentially makes the script to hide the tooltip.

    So I suggest you rework your script in some other way so it wasn't so harsh on the page structure. Maybe use the native eval function and some lockers that will prevent the repeat calls until your fx is working.

  • oliver.schmid (at webgarten)

    oliver.schmid (at webgarten) May 10th, 2010 @ 05:51 PM

    Hi Mad

    Thanks for your reply :-)

    But I think it is not that. The problem already happen before I add this event. I removed it now on this site and the problem is still there:
    https://www.webgarten.ch

    It is really strange, move the mouse and the tooltip suddenly disappear. I tried Firefox Mac and PC and also IE 7 PC.

    Regards - Oli

  • MadRabbit

    MadRabbit May 10th, 2010 @ 07:17 PM

    • State changed from “invalid” to “resolved”

    Hey Oliver,

    Seem like I was wrong 8)

    The problem was with the tooltip itself, it happened that when you move the cursor too fast, the script couldn't reposition the tooltip element itself quickly enough and the cursor was on the tooltip which triggered the mouseout event and therefore the hiding.

    I've fixed the problem, please try one of the attached files, that should help.

    And thanks for kicking me! 8)

    -- Cheers,
    Nik

  • oliver.schmid (at webgarten)

    oliver.schmid (at webgarten) May 10th, 2010 @ 07:36 PM

    Cool it works!!

    Thank you very much.

    Cheers - Oli

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

RightJS Core Tickets

Shared Ticket Bins

Pages