|
[Solved] qTip image map multiple triggers for one tip
|
|
31st July, 17:09
Post: #1
|
|||
|
|||
|
[Solved] qTip image map multiple triggers for one tip
I have an image map that I am using qTip with. It works great, so thanks for the awesome plugin. I have it set up so there are dots on the map that act as triggers to the qTips.
I want to have a legend beside the map, and the items in the legend also act as triggers to the qTips that are on the map. Since the map has about 50 qTips, I'm using the each() method. How can I make multiple triggers for one tip, without hard-coding each tip? Thanks! JS Code
|
|||
|
1st August, 15:12
Post: #2
|
|||
|
|||
|
RE: qTip image map multiple triggers for one tip
Multiple triggers as in multiple targets that will open the tooltips? That's possible, but I'd suggest using using qTip2 for it instead as it has native support for it built in
Craig Thompson Web Developer / Designer Craigsworks http://www.craigsworks.com |
|||
|
2nd August, 00:44
Post: #3
|
|||
|
|||
RE: qTip image map multiple triggers for one tip
(1st August 15:12)Craig Wrote: Multiple triggers as in multiple targets that will open the tooltips? That's possible, but I'd suggest using using qTip2 for it instead as it has native support for it built in Thanks for the reply. I've installed qTip2, and looked through the documentation, but I don't see anything about what I am looking to accomplish (not one tooltip, multiple targets). I have an image map with dots on it. When you hover a dot, the qTip shows. That's working great. What I want to do is also have the text in the legend make the associated qTip appear on the map. For example, dot 1 on the map makes the qTip show beside it, and item 1 in the legend also makes dot 1's qTip show on the map. Any pointers you can provide would be great. Thanks! |
|||
|
2nd August, 10:41
Post: #4
|
|||
|
|||
|
RE: qTip image map multiple triggers for one tip
Assuming the <area> elements on your map are in the same order as those elements you want to also trigger the qtip:
JS Code
Or you could even do it by declaring multiple show/hide targets for each qTip (assuming again the dots are in the same order as the legends that trigger them) JS Code
Craig Thompson Web Developer / Designer Craigsworks http://www.craigsworks.com |
|||
|
3rd August, 05:43
Post: #5
|
|||
|
|||
RE: qTip image map multiple triggers for one tip
(2nd August 10:41)Craig Wrote: Assuming the <area> elements on your map are in the same order as those elements you want to also trigger the qtip: Perfect! Thanks so much
|
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)

Search
Member List
Calendar
Help




