Problem with maxwidth attribute
Hi from Germany,
at first I'd like to say thank you for the plugin, I am using it for a long time now, because of the beauty of its output and the simplicity of use.
But now I think I found a little bug. let's asume the following: In my header I define several instances of the plugin like this:
// Tooltips
$(".tooltip_image").tipTip({defaultPosition: "top",attribute: "alt"});
$(".tooltip_externe").tipTip({defaultPosition: "right",content: "Some content here"});
$(".tooltip_click").tipTip({content: "Click to open"});
$(".tooltip_td").tipTip({defaultPosition: "top",maxWidth: "300px"});
$(".tooltip").tipTip();
No matter what I do, allways the maxwidth of 200px (default) is used. When I place this call
$(".tooltip_td").tipTip({defaultPosition: "top",maxWidth: "300px"});
at the very beginning of my tooltip block, the maxwidth of 300px is used, so I assume that the maxwidth once defined could not be changed dynamically.
Do you have any Idea how to get around this problem? Hope to expressed my problem well enough, english is not my native tongue. Thank you for any help.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by Soham on 22 Oct, 2013 12:58 PM
See the following discussion on same topic:
http://drew.tenderapp.com/discussions/tiptip/108-tiptip-maxwidth-bug
Or download the attached fixed version. It's modified by me & not an official release. But you may find it useful.
Soham.