|
How to destroy cached qtip and then recreate it
|
|
25th July, 02:48
(This post was last modified: 25th July 02:52 by android.)
Post: #1
|
|||
|
|||
|
How to destroy cached qtip and then recreate it
I have necessity to destroy a certain tooltip on hide.
To solve it, I use: onHide: function() { $('#selector1, #selector2').qtip("destroy"); } My problem is that after destroying a tooltip this is no longer available! Trying to solve this problem I use prerender: false. Setting this attribute false, the tooltips will recreate in the future when necessary (am I doing wrong?). But it does't work... result: my tooltip are destroyed for ever. Why qTip behaves in this way? I've setted prerender to false correctly. I have real necessity to destroy tooltip because I'm using more #selectors associated to a tooltip (as you see: $('#selector1, #selector2, etc...').qtip [...] ). So I would free memory - after the tooltip is hidden - to avoid interferences. What am I doing wrong? Thanks for replies
|
|||
|
29th July, 06:40
Post: #2
|
|||
|
|||
|
RE: How to destroy cached qtip and then recreate it
android, I'm not sure I understand.... destroy is used for the exact purpose you are trying to prevent, removing the tooltip permanently!
Craig Thompson Web Developer / Designer Craigsworks http://www.craigsworks.com |
|||
|
« Next Oldest | Next Newest »
|

Search
Member List
Calendar
Help




