|
Persistent qtip which appears on hover disappears only by clicking on an element
|
|
25th July, 09:28
Post: #1
|
|||
|
|||
|
Persistent qtip which appears on hover disappears only by clicking on an element
I am using qtip version 1.0.0-rc3 and have to solve the following problem :
I have a div element on which a qtip has to appear on hover. The div element has an anchor tag within it. When the user clicks on the link, I want the qtip to persist even when the mouse has moved out of the div. The qtip has to be hidden only when the use clicks on the link again or on some other link on the page[There are multiple such div's on the page]. The HTML has the following structure : <div><a>Name</a><div> I've tried using hide : 'unfocus', but this does not serve the purpose. Basically, I need a way to control how my qtip is hidden. |
|||
|
25th July, 11:51
Post: #2
|
|||
|
|||
|
RE: Persistent qtip which appears on hover disappears only by clicking on an element
This sounds almost exactly like what unfocus is needed for
What did that do that you didn't want it to?
Craig Thompson Web Developer / Designer Craigsworks http://www.craigsworks.com |
|||
|
26th July, 08:01
Post: #3
|
|||
|
|||
|
RE: Persistent qtip which appears on hover disappears only by clicking on an element
Here's the code I'm using
JS Code
The tooltip appears when I click on the link and disappears when I click on the link itself or any other link on the page, which is fine. However, I want the qtip to appear on hover as well. The click on the link should "lock" the qtip in its position until the link is clicked on again. The flow should be as follows: - Hover over the div => qtip appears - If link within the div is clicked => lock qtip and remove it when link is clicked again or any other link is clicked. - Hover out of the div => if link was clicked, persist qtip or else hide the qtip. Thanks! |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)

Search
Member List
Calendar
Help




What did that do that you didn't want it to?
