Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Solved] qtip not working in IE6
12th March, 14:21
Post: #1
[Solved] qtip not working in IE6
Hey guys!

First post, so be nice!

The problem I am having is with IE 6! (shock horror) where my qtips do not work in any shape or form. They work in every other browser, but not IE6.

I have tried stripping out my configured tooltips, and added the very basic display on mouseover, even that doesn't work!

There is not tooltip at all!

Does anyone know if there are any known problems with IE6 at all?

Any help will be welcome!

cheers

Craig
Find all posts by this user
Quote this message in a reply
12th March, 14:32
Post: #2
RE: qtip not working in IE6
I'm implementing them fine in IE6. What version of jQuery? Have you tried the most up-to-date development version of qTip?
Find all posts by this user
Quote this message in a reply
12th March, 16:17
Post: #3
RE: qtip not working in IE6
(12th March 14:32)sveiki Wrote:  I'm implementing them fine in IE6. What version of jQuery? Have you tried the most up-to-date development version of qTip?

Hey Sveiki, thanks for your reply!

Yeah i have the most up to date version. To be honest, i think it has something to do with the hierarchy in my html elements. IE6 is a bit rubbish like that right?

i am assigning my tooltip to a class called "info" which is within a label. Now, when i hover it, IE6 doesn't pick up the class at all.

Do you need the absolute path of the element in IE6? like you do with css?

cheers

Craig
Find all posts by this user
Quote this message in a reply
12th March, 16:52
Post: #4
RE: qtip not working in IE6
(12th March 16:17)BarberCraig Wrote:  
(12th March 14:32)sveiki Wrote:  I'm implementing them fine in IE6. What version of jQuery? Have you tried the most up-to-date development version of qTip?

Hey Sveiki, thanks for your reply!

Yeah i have the most up to date version. To be honest, i think it has something to do with the hierarchy in my html elements. IE6 is a bit rubbish like that right?

i am assigning my tooltip to a class called "info" which is within a label. Now, when i hover it, IE6 doesn't pick up the class at all.

Do you need the absolute path of the element in IE6? like you do with css?

cheers

Craig

To be sure, it'd be easier to take a look at your code. Can we see the HTML definition of the element, and the qTip call that you use?
Find all posts by this user
Quote this message in a reply
12th March, 17:03
Post: #5
RE: qtip not working in IE6
(12th March 16:52)sveiki Wrote:  
(12th March 16:17)BarberCraig Wrote:  
(12th March 14:32)sveiki Wrote:  I'm implementing them fine in IE6. What version of jQuery? Have you tried the most up-to-date development version of qTip?

Hey Sveiki, thanks for your reply!

Yeah i have the most up to date version. To be honest, i think it has something to do with the hierarchy in my html elements. IE6 is a bit rubbish like that right?

i am assigning my tooltip to a class called "info" which is within a label. Now, when i hover it, IE6 doesn't pick up the class at all.

Do you need the absolute path of the element in IE6? like you do with css?

cheers

Craig

To be sure, it'd be easier to take a look at your code. Can we see the HTML definition of the element, and the qTip call that you use?

Righty doody, ok. So my JS for loading the tooltip is as follows:
JS Code
$('img.info').qtip({
    content: {
      text: true
  	},
    position: {
      corner: {
        target: 'topRight',
        tooltip: 'bottomLeft'
      }
    },
    show: {
      effect: {
        type: 'fade',
        length: 250
      }
    },
    style: {
	  width: 300,
      border: {
        width: 3,
        radius: 8,
        color: '#204da6'
      },
      tip: 'bottomLeft'
    }
  });


Now on my page where I am calling my tooltips, i am using a php function to generate an image and assign my class, title etc.

So my php page looks like this:
[php]<label class="narrow" for="vehicles"><?=tooltip($tooltips['vehicles'])?>Number of vehicles in household:</label>[/php]

The php function 'tooltips' looks like this:
[php]/**
* Tooltip
* Renders a tooltip.
* @param string $content
* @return string $img
* @author Craig Barber
* @version 1.0
*/
function tooltip($content)
{
$img = array(
'class' => 'info',
'src' => 'images/ico_info.png',
'width' => '16',
'height' => '16',
'title' => htmlentities($content)
);
return img($img);
}
[/php]

So what this does is sends my tooltip content to the function tooltip, and sets the image, class etc and returns the array, which sets the image, and assigns the title. Then the js assigns the tooltip to the image with class 'info'.

This all works a dream in any other browser apart from IE6.

Weird thing is when i'm inspecting the html in IE6 (virtual machine) the code inspector shows funny <shape> tags above it, is this jquery assigning this? because it looks as though it basically cannot find the element....

any help would be greatly appreciated

thanks guys

Craig
Find all posts by this user
Quote this message in a reply
12th March, 20:25
Post: #6
RE: qtip not working in IE6
Hey guys,

Just to let you know that i solved the problem. The problem i was having was with my belated png fix plugin! Where i was assigning my image within my tooltip function, the image was then being replaced. After debugging though, it seems that the belated png fix actually adds layer over the top?!

Anyway, thanks for your help! case closed.

BTW, how do i solve this post? because i cant find the solve option anywhere!!

Thanks again

Craig
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  qtip only working the first time harjits 2 24 Yesterday 23:31
Last Post: Craig
  Dynamic contenct not working property in sortable cleung 5 737 8th December 18:45
Last Post: Craig
  Youtube demo not working on ffox 6 & 7 ivanmayes 2 696 11th October 17:14
Last Post: ivanmayes
  [Solved] Why is this not working - Link nested in tooltip needed 1 546 12th September 17:10
Last Post: Craig
  [Solved] Blanket Destroy not working migdalskiy 2 512 22nd August 22:44
Last Post: migdalskiy
  Unfocus Not Working biglesliep 1 760 13th August 12:50
Last Post: Craig
  Simple working example? PeterY 2 957 7th August 20:18
Last Post: kiddailey
  very simple working example? solitario 3 2,641 7th August 20:16
Last Post: kiddailey
  styles and pointy position not working danbuntu 1 940 27th July 23:17
Last Post: Craig
  [Solved] qTip input fields validation not working with display:none Maverick 6 1,414 25th July 16:44
Last Post: Maverick



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