|
qTip 1 and Image Map problems with IE7 - need help converting to 2.0
|
|
21st April, 15:42
(This post was last modified: 21st April 15:45 by tafs7.)
Post: #1
|
|||
|
|||
|
qTip 1 and Image Map problems with IE7 - need help converting to 2.0
Ok, so I spent some time and got qTip 1.0 to work on IE8+, FF, Chrome, Safari. However it doesn't work on IE7 for me. I am trying to have tooltips on an HTML Image Map. You can see the page at http://www.truthaboutsurfacemining.com/SurfaceMining101 (scroll to bottom and click the Coal Tree image). The image map is in a separate HTML page that I display in a IFrame using the Fancybox plugin to get the lightbox-style modal dialog effect.
After reading thru some threads here, I see that you are no longer supporting qTip 1.0, so I need help migrating my code base to 2.0 if this problem cannot be fixed using v1. I tried using the Converter on this site, but it seems to be broken as I paste in my code and it doesn't reflect changes on the right side. Here's the gist of what I do: I have to instantiate 4 separate qTips because I use my own tooltip image backgrounds with the tip already in them. I have a JSON array containing each image map area element's data such as the coords, and the position of the tip, and I append the <area> elements to the image map with jQuery in a loop through this array. I tag the <area> element with a class that indicates the position of the tip for each object in the array. This allows me to use a specific jQuery selector for each tip position configuration (topRight, topLeft, bottomRight, bottomLeft). I also have a hidden div that contains the markup for the tooltip content, and in the qTip's beforeShow, I select the div, and change up the IMG and SPAN for the specific tooltip being displayed, so I can reuse the event and my content div markup for all tooltips. I need to make this work in IE7, so if that means migrating to qTip2, then I need some help in converting this code base. Can someone assist? See code below. Thanks in advance! -- Thiago Silva JS Code
|
|||
|
28th April, 23:45
Post: #2
|
|||
|
|||
|
RE: qTip 1 and Image Map problems with IE7 - need help converting to 2.0
ok...so it's been a few days, over 40 views, and no replies. Can anyone assist with fixing this bug, and/or converting to 2.0???
I would greatly appreciate it. --Thiago |
|||
|
29th April, 08:50
Post: #3
|
|||
|
|||
|
RE: qTip 1 and Image Map problems with IE7 - need help converting to 2.0
Probably because it's a pretty tall order to work out all the details of what you need
Here's a hastily written, rough and partial example of what you'll probably need to do:http://jsfiddle.net/kiddailey/2dMbv/ In a nutshell, here's what I did:
HTML JS Code
CSS JS Code
JAVASCRIPT JS Code
|
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)

Search
Member List
Calendar
Help




Here's a hastily written, rough and partial example of what you'll probably need to do: