Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Solved] Using same tooltip object for multiple elements
28th July, 06:10
Post: #1
[Solved] Using same tooltip object for multiple elements
Hi, I'd like to use qTip on a page which has a lot of elements to tip, at least 20, and each one needs to get info dynamically from the server upon mouseover.

So for efficiency, is there a way to instantiate ONE qTip object, and just apply it to each element as it gets a mouseover, changing the content to suit each time?

The alternative is to qTip all the elements at once, as normal, and I thought this might be inefficient given the number of elements. Or am I wrong and that's the correct way to do it? Smile
Find all posts by this user
Quote this message in a reply
28th July, 16:29
Post: #2
RE: Using same tooltip object for multiple elements
Well first I'd suggest looking into qTip2 which is much more efficient and well coded. It also has plenty of demos to achieve what you're asking for.

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
28th July, 18:03
Post: #3
RE: [Solved] Using same tooltip object for multiple elements
Thanks Craig.

However I tried using v2 with jQuery 1.5.2 (we're told to use that version for now) and the tip tails don't appear in IE8. Smile
Find all posts by this user
Quote this message in a reply
1st August, 15:26
Post: #4
RE: [Solved] Using same tooltip object for multiple elements
Make sure you're in standards mode, as Quirksmode isn't (or rather... can't) be fully supported.

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] Multiple qtips on one page, content disappearing russau 3 123 3rd May 16:38
Last Post: Craig
  [Solved] One Target Multiple Tool Tips rd42 1 267 19th February 18:24
Last Post: rd42
  [Solved] qTip image map multiple triggers for one tip nico 4 961 3rd August 05:43
Last Post: nico
  Efficiency - Should I re-position one qtip or create multiple? jcapper 1 956 4th July 14:19
Last Post: Craig
  [Solved] 'f.fn.qtip.interfaces.length' is null or not an object panabee 1 847 19th May 12:47
Last Post: Craig
  [Solved] multiple qtips and 1.4.2 - popup not being removed michaelg 9 2,630 11th May 13:57
Last Post: cooldeeps
  [Solved] Multiple image maps, different tooltips glennp 1 1,504 21st April 16:32
Last Post: tafs7
  [Solved] Multiple <a> with unique id, content from multiple div slima 2 1,092 28th March 15:02
Last Post: slima
  qTip and Forms, how to access form input/elements/form data? lancelot_one 2 1,563 15th February 21:43
Last Post: lancelot_one
  Multiple nested tooltips, child mouseout closes parent Spazsquatch 2 1,303 10th February 17:22
Last Post: Spazsquatch



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