Using jQuery, I would like the tooltip to work on hover, and con开发者_运维百科text menu to work on right click, but not with the tooltip hovering over my contextmenu. Is this possible?
What about something like this?
Basically, blank the title
attribute on context menu initialization, and then reset it on context menu disappearing.
I think you will be lucky to override control of the tooltip display away from Internet Explorer;
However, try this:
- Set the title attribute to an empty string on hover, storing the value in a custom attribute.
- Then draw the tooltip yourself using javascript/dom manipulation.
Right clicking could then vanquish the tooltip.
精彩评论