Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need Global Close/Hide
20th November, 18:25
Post: #1
Need Global Close/Hide
I have an application which uses drag & drop. When one element is dragged to a new place, it is replaced by a new element and the original element is destroyed.

The tip comes up and once I drag & drop, the tip stays on the screen forever. Reason is that there is no object remaining to capture an event.

A solution would be to call jtip directly and hide ALL tips.

I've tried to show (solo) and other show & hide options with little success.

Any suggestions?
Find all posts by this user
Quote this message in a reply
23rd November, 00:30
Post: #2
Need Global Close/Hide
gigbuilder, if you're planning on removing elements with qTips related to them you'll need to remove the qTip first then the element second. For example:

JS Code
$('elementsToRemove').qtip('destroy').remove()


In your case, this will require destroying the qTips on the 'beginDrag' callback or similar of the drag and drop plugin.

Craig Thompson
Web Developer / Designer
Craigsworks
http://www.craigsworks.com
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  [Solved] Show on click, hide on unfocus ttomor 4 149 3rd May 14:39
Last Post: ttomor
  [Solved] Hovering over same tip location causes it to hide jaredf 1 280 22nd March 14:52
Last Post: Craig
  can't hide qtip in a “position: absolute;” div shdog 1 275 14th March 17:35
Last Post: Craig
  [Solved] Close button within AJAX phpmysqlguy 1 268 12th March 21:00
Last Post: Craig
  hide on unfocus in build 55 bradw2k 1 337 20th January 17:03
Last Post: Craig
  [Solved] I need close my tooltip after receive a callback from my ajax klauzito 2 670 1st November 13:39
Last Post: klauzito
  [Solved] Is there an easier way to show/hide tooltips dynamically? gloosemo 1 675 17th October 15:58
Last Post: Craig
  Programmatically close the qtip Dsan 0 976 2nd September 09:09
Last Post: Dsan
  [Solved] Hide tooltip when clicked dabd 10 1,209 23rd August 18:55
Last Post: dabd
  onLoad and then hide after 10 seconds mediaslave 3 1,999 16th June 17:02
Last Post: weber



User(s) browsing this thread: 1 Guest(s)