Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem with qtip and IE7
7th September, 21:07
Post: #1
Problem with qtip and IE7
I'm using rev 55 of qtip 1.0 and I'm having a problem in ie7.

It's throwing a JS error on line 1609 of the source file, saying "content.jquery is not an object"

Is anyone else having this issue?
Find all posts by this user
Quote this message in a reply
8th September, 13:49
Post: #2
RE: Problem with qtip and IE7
I did a little more investigation on this and I was able to narrow it down and it looks like this is happening because of the way I'm setting the content of my tooltips.

I need to be able to set tooltip content based on dynamically created data, so when my page is generated I simply create a hidden div next to the tooltip's parent element and set the div's content to the content I wish to display in the tooltip. Then I attempt to set the content of the tooltip to the content of that div when I create it.

JS Code
$(function()
	{
	$('.tab').each(function()
	    {
	    $(this).qtip({
                   content: $(this).next('div').html()
                   });
                });


This works fine in Opera/Firefox/IE8, but blows up in ie6/7. It's the "$(this).next('div').html()" line that causes the error. If I set "content" to a string it works fine in all browsers. Can someone explain a better way to accomplish this to me? Ajax isn't really a good option here.
Find all posts by this user
Quote this message in a reply
8th September, 17:17
Post: #3
RE: Problem with qtip and IE7
What is the error that's caused cls33?

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
  qTip & ASP.NET UpdatePanel Postback Problem qTipNoob 4 2,449 10th January 15:01
Last Post: naupadnara
  [Solved] Tip corner not showing in IE7 and IE8 danlefebvre 9 2,844 3rd June 08:17
Last Post: amitshahc
  On jQuery 1.5.1, tips don't appear in IE7 or IE8 panabee 3 1,172 23rd May 17:51
Last Post: Craig
Bug memory leak in IE7? ramalaks 3 747 23rd May 17:07
Last Post: Craig
  qTips no showing in IE7 adrielcrv 3 947 9th May 14:06
Last Post: Craig
  Nested qtip opacity problem zensurfer 1 746 3rd May 12:49
Last Post: Craig
  qTip 1 and Image Map problems with IE7 - need help converting to 2.0 tafs7 2 814 29th April 08:50
Last Post: kiddailey
  qTip problem inside update panel tonofweb 2 897 12th April 08:26
Last Post: kiddailey
Sad [Solved] Works in IE7 initially, but then throws error tingiri 1 585 1st March 15:18
Last Post: Craig
  Simpel problem with qtip SnowJim 4 874 22nd February 20:08
Last Post: SnowJim



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