Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Disabled Border and IE7
23rd December, 16:40 (This post was last modified: 23rd December 17:46 by nvm.)
Post: #1
Disabled Border and IE7
Hi,

Using the following, I am having a problem with IE7. Two, actually.

JS Code
$('.show-tooltip').each(function() {
   $(this).qtip({
      content: {
         url: 'tooltip.html',
         data: { id: $(this).attr('id') },
         method: 'post'
      },
      position: {
         corner: {
            target: 'rightBottom',
            tooltip: 'bottomLeft'
         }
      },
      style: {
         background: 'transparent',
         color: '#ffffff',
         width: 296,
         height: 191,
         border: { width: 0, radius: 0 }
      },
      hide: {
         fixed: true
      }
   });
});


tooltip.html is a file with a div containing a transparent PNG background bubble and some CSS formatting.

Problem 1: When the tip first appears, there's a thick black border around the PNG in the shape of the PNG. It disappears a second later. Kind of funny looking, but not desired. Did I disable borders correctly?

Problem 2: The text inside of the div loses its anti-aliasing for a moment but corrects itself quickly. This is not a major problem for me, but I'm curious why it's happening and if there's a quick solution. Perhaps this is because contents of the file is being pulled using AJAX and the browser did not yet get a chance to apply anti-aliasing?

I appreciate your help, thoughts, ideas...

Very nice extension. I'm happy to be using it. Appears to work fine in the other browsers I tested this in, including IE6.

Thanks,
Marc

Update: Sorry, both issues exist in IE8, as well.
Find all posts by this user
Quote this message in a reply
24th December, 03:10
Post: #2
Disabled Border and IE7
marclemagne, you can disable the border property simply by excluding it from the code itself, or setting it to false.

Regarding both of these issues, it's actually a combination of problems with IE's filters. Antialiased text is only supported on elements without filters applied (including opacity), so the problem you're seeing is unavoidable unfortunately. The PNG issue is also likely caused by this.

You can get around this by simply using a different effect other than 'fade', such as 'slide' or 'grow'.

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
29th December, 22:38
Post: #3
Disabled Border and IE7
Craig,

Thank you for your help. I will see if this helps.

Thanks,
Marc
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Border of 0 does not make the border go away username 4 633 21st February 14:53
Last Post: rd42
  [Solved] Tip corner not showing in IE7 and IE8 danlefebvre 9 3,316 3rd June 08:17
Last Post: amitshahc
  On jQuery 1.5.1, tips don't appear in IE7 or IE8 panabee 3 1,428 23rd May 17:51
Last Post: Craig
  memory leak in IE7? ramalaks 3 884 23rd May 17:07
Last Post: Craig
  qTips no showing in IE7 adrielcrv 3 1,071 9th May 14:06
Last Post: Craig
  qTip 1 and Image Map problems with IE7 - need help converting to 2.0 tafs7 2 1,002 29th April 08:50
Last Post: kiddailey
  [Solved] Works in IE7 initially, but then throws error tingiri 1 661 1st March 15:18
Last Post: Craig
  [Solved] IE7: Expected identifier, string or number-problem bungo 2 2,193 21st February 11:18
Last Post: bungo
  [Solved] qtip not showing in IE7 WillMan 2 1,154 17th February 14:23
Last Post: WillMan
  [Solved] My QTips not working on IE7 designlucas 2 758 7th February 14:40
Last Post: designlucas



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