Problem with maxwidth attribute

André R. Kohl's Avatar

André R. Kohl

10 Oct, 2013 09:11 AM

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.

  1. 1 Posted by Soham on 22 Oct, 2013 12:58 PM

    Soham's Avatar

    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.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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

Recent Discussions

08 Feb, 2017 08:05 AM
08 Feb, 2017 08:02 AM
08 Feb, 2017 07:56 AM
08 Feb, 2017 07:53 AM
08 Feb, 2017 07:45 AM