Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Global enabling/disabling on ajax
30th July, 12:58
Post: #1
Global enabling/disabling on ajax
I have a page with many tooltips and I need to give the option to the user (logged) to disabling/enabling all the tooltips saving this info on a db (via ajax/jquery) then not reloading the page.
I am using the 1.0. release.
I've tried in many ways , but not result...

$.ajax({
...
success : function (data) {
if(data=='Disabilitato')$('*').qtip('disable');
if(data=='Abilitato')$('*').qtip('enable'); if(data=='Disabilitato')$('#Image34').qtip('destroy').remove();
....
}
});
It seems that all the settings affecting the tooltips only works at the first load of the page....
Find all posts by this user
Quote this message in a reply
2nd August, 12:07
Post: #2
RE: Global enabling/disabling on ajax
sdelmastro, if you're planning on using qTip for heavy AJAX usage then I suggest the 2.0 pre-release code, which is much more efficient: http://www.github.com/craga89/qtip

It has pretty much the same configuration options, but most changes are detailed in the 2.0 forum post: http://craigsworks.com/projects/forums/t...s-from-1-0

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] tip position when using global styles xenolith5 2 1,029 3rd February 09:17
Last Post: xenolith5
  disabling defualt style with content div tag kh_amit2003 0 1,139 7th April 20:24
Last Post: kh_amit2003
  Need Global Close/Hide gigbuilder 1 568 23rd November 00:30
Last Post: Craig
  Global qtip elements with different content camslaz 5 1,440 6th November 22:45
Last Post: pashcan
  create new global show and hide gtraxx 0 460 21st October 13:30
Last Post: gtraxx
  How to get different timestamp and global var? ad209 3 788 4th June 13:47
Last Post: Craig



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