Forums >
Tipster >
Tooltip stays visible when pinned to browser edge or corner.
Author
Message
1) dlctGroup: Members Posts: 1Joined: 28 May 2006Location: Ontario CanadaIP: 216.8.--.--
Posted:
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 TurnbullGroup: Moderators Posts: 4235Joined: 7 Dec 2003Location: New ZealandIP: 138.80.--.--
Posted:
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).