tip_left_top (etc...) classes

fraiddo's Avatar

fraiddo

10 May, 2010 08:04 PM

Hello,

with the plugin i don't understand where to add tip_left_top or tip_left_bottom classes : in js or html ?

thanks.

  1. Support Staff 1 Posted by Drew Wilson on 10 May, 2010 08:11 PM

    Drew Wilson's Avatar

    Those are CSS classed that are automatically applied to the TipTip element. The different classes will show up depending on the orientation of the Tip TIp.
    Use CSS to style them differently if you want.

    Thanks!
    Drew

  2. 2 Posted by fraiddo on 10 May, 2010 09:00 PM

    fraiddo's Avatar

    I try this:

    var tiptip_holder = $('

    ');

    but the tip is always by default :/

  3. 3 Posted by fraiddo on 10 May, 2010 09:05 PM

    fraiddo's Avatar
  4. Support Staff 4 Posted by Drew Wilson on 10 May, 2010 09:08 PM

    Drew Wilson's Avatar

    The tiptip HTML element is automatically created by the tiptip plugin.
    You do not need ot create it.
    Just use CSS to style the tip tip element.

    Jus tlook at the CSS file bundled with tiptip
    thanks
    drew

  5. 5 Posted by fraiddo on 10 May, 2010 09:49 PM

    fraiddo's Avatar

    i always don't understand...

    wich file needed to be edited ? :/

    classes tip_left_top , tip_left_bottom, tip_right_top, tip_right_bottom are not in the css :/

  6. Support Staff 6 Posted by Drew Wilson on 10 May, 2010 09:54 PM

    Drew Wilson's Avatar

    They are in the CSS.. lines 53-100

  7. 7 Posted by fraiddo on 10 May, 2010 10:02 PM

    fraiddo's Avatar

    so, it is impossible to put the tip at left AND the top ?

    • tip_top, tip_bottom, tip_left, tip_right : yes, they are in css
    • tip_left_top , tip_left_bottom, tip_right_top, tip_right_bottom : no
  8. Support Staff 8 Posted by Drew Wilson on 10 May, 2010 10:16 PM

    Drew Wilson's Avatar

    Ok, I see what you meant. I thought you wanted to know how to style the different classes.
    But you are asking how to set the default orientation to be "top_left".
    That is something i will add into the next release.
    Thanks!

    Drew

  9. 9 Posted by fraiddo on 10 May, 2010 10:28 PM

    fraiddo's Avatar

    ok, thanks :)

  10. 10 Posted by Mauro on 15 Jun, 2011 08:35 PM

    Mauro's Avatar

    "That is something i will add into the next release."

    Would Like that ;~

  11. 11 Posted by Christian Hill on 22 Mar, 2012 05:04 PM

     Christian Hill's Avatar

    Great plugin! I'm trying to figure out how to chane the default class from tip_bottom to tip_left. I can't find it in the js file. Please help!

  12. 12 Posted by Ammar on 18 Aug, 2012 08:12 AM

    Ammar's Avatar

    Could I add more than one tool-tip on the same page, and each one has a different position ?

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