Multiple TipTip only 1 maxWidth ? Extremely basic scenario

Andrew's Avatar


26 Aug, 2010 02:27 AM

Please check out this extremely basic example where I have two tips on the same page. You will see that the second input has a maxWidth of 500px, yet it wraps to the maxWidth on the first text box. Is this a bug?

  1. 1 Posted by fabrice on 01 Sep, 2010 08:41 PM

    fabrice's Avatar

    I have also the same problem !!
    I would be grateful if you could fix it...
    Many thanks

  2. 2 Posted by Raine Virta on 06 Sep, 2010 10:06 AM

    Raine Virta's Avatar

    This is a bug in the plugin. I only glanced the code quickly, but I think it's because maxWidth of the #tiptip_holder is set only once when tipTip() is run for the first time. So the first maxWidth you set will decide the width for rest of the tooltips.

  3. 3 Posted by Mistic on 11 Apr, 2011 10:14 PM

    Mistic's Avatar

    This bug is very annoying !
    And I don't understand why the parameter is not overwrited since fadeIn, fadeOut... are

  4. 4 Posted by Raine Virta on 12 Apr, 2011 09:59 AM

    Raine Virta's Avatar


  5. 5 Posted by Mistic on 02 Jun, 2011 02:53 PM

    Mistic's Avatar

    So I've solved it by myself :
    add line 103 : .css("max-width",opts.maxWidth)

  6. 6 Posted by Joe on 03 Apr, 2012 02:05 AM

    Joe's Avatar

    Good fix by Mistic, thanks.

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


? 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