Drew Wilson on 22 Nov, 2010 05:18 PM
tiptip allows you to decide which attribute to use, using the tiptip option "attribute". You don't have to use the Title attribute. you can also use no attribute at all if you use the following tiptip option: "content"
I think you misunderstood what I was saying.
From what I understand, that just means that I can't use tipTip with another JS that will also need to use the same attribute.
In other words, how can I use the anchor title for tipTip & something like lightbox/Colorbox type plugins? Since they use that attribute also.
I want to use the title attribute for tipTip but if I do then I can't use it for something else. . . so, setting the attribute in tipTip doesn't solve that problem--I'll just have a tipTip tool tip and a title mouse-over title tip = ugly.
For example, vTip is a simple tool tip plugin. . . much simpler, nonetheless, if I use it I can have a tool tip on an image that opens in Colorbox, botyh using the same title attribute. It does not hide the title attribute so other JS can't interact with it.
Thanks for the replies!
That did something very odd. It is adding the title of the page, I believe. or an anchor before the UL class specified. . . but it also adds the content tool tip and you still have the mouse over title tip because the title element is being used:
While I may be generally clueless when it comes to JS I've read and tried everything in the documentation for tipTip and searched the internet for fixes for similar conflicts or a workaround. Was not able to find anything that worked for this. What I did learn is that some other tool tips have a similar conflict, not all obviously.
Basically, how can tipTip & Colorbox both use the title attribute?
I know it's possible lol. . . as other tool tips do it. . . they just aren't as good as tipTip in other areas.
Dan, Thanks for the attempt however, by commenting out that line
you allow the browser to display the title along with tiptip
displaying the tool tip = two title attributes on hover. goal =
only tiptip should show tool tip but when image is clicked the
caption should also show in Colorbox/Lightbox.
I found that the jQuery vTip plugin can be slightly modified to
allow HTML in the title attribute and does not have this type of
conflict, though I don't know enough JS to change tiptip. . . so,
at the moment I'm using vTip along with tiptip.