- Create Account

Tooltip stays visible when pinned to browser edge or corner.

Forums > Tipster > Tooltip stays visible when pinned to browser edge or corner.
Author
Message

1) dlct Group: Members
Posts: 1 Joined: 28 May 2006 Location: Ontario Canada IP: 216.8.--.--
How do I change the script so that the tooltip doesn't follow the mouse after mouseout? The problem I have is that I am using a rather large tooltip and even after mouseout the tooltip stays visible if the mouse is quickly positioned over it; (pinned in the corner or on the browser's edge). I am looking for a way to get rid of that behavior. You can even get it to do that on the online demo if you want to try it and see what I mean. I believe that it's a behavior embedded in the script. I tried all kinds of settings but I'm not familiar enough with javacript to try and customize the code myself. Any help is appreciated.

BTW: I found another javascript that doesn't behave as mentioned above. However, I need the feature of Tipster which doesn't allow the tooltip to surpass the top of the browser if the tooltip is oversize or the browser window is undersize...No other tooltip script I've found has that feature like Tipster.

Good job on the script and thanks in advance for the help.

Regards,

DLCT

2) Angus Turnbull Group: Moderators
Posts: 4235 Joined: 7 Dec 2003 Location: New Zealand IP: 138.80.--.--
The script assigns mouseover/mouseout handlers to the tips themselves as some of hte tooltips in the demo support nested tips (so you have to be able to mouseover the tip). If this feature is giving you trouble, and you don't need it, feel free to open up the tipster_commented.js file and just remove the lines where it gives onmouseover/out events to the tips (IIRC when the tips are shown, most of the way down the script).

Good luck - Angus.

Post a Reply:

You are not logged in, and will be posting anonymously as a guest. If you want to post using an account, please login at the top of this page.