The forum of the forums

Would you like to react to this message? Create an account in a few clicks or log in to continue.
The forum of the forums
3 posters

    Remove a Tooltip

    Ace 1
    Ace 1
    Helper
    Helper


    Male Posts : 843
    Reputation : 64
    Language : English - French?
    Location : Druid Hill Park

    Solved Remove a Tooltip

    Post by Ace 1 October 23rd 2016, 2:32 am

    When you're creating a tooltip, the function is
    Code:
    $(element).tooltipster()

    How do you remove a tooltip though? (removing the class doesn't work)


    Last edited by Ace 1 on October 24th 2016, 12:30 pm; edited 1 time in total
    TheCrow
    TheCrow
    Manager
    Manager


    Male Posts : 6916
    Reputation : 795
    Language : Greek, English

    Solved Re: Remove a Tooltip

    Post by TheCrow October 23rd 2016, 11:07 pm

    Ace 1 wrote:When you're creating a tooltip, the function is
    Code:
    $(element).tooltipster()

    How do you remove a tooltip though? (removing the class doesn't work)
    Hello @Ace 1,

    Where exactly is this located and is it a tooltip with a javascript? If yes then i would suggest maybe this:
    Code:
    $(element).tooltipster({ display: none });



    tooltip - Remove a Tooltip Thecro10
     Forum of the Forums

    Forumotion Rules | Tips & Tricks |
    FAQ | Did you forget your password?



    *** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
    No support via PM!
    Ace 1
    Ace 1
    Helper
    Helper


    Male Posts : 843
    Reputation : 64
    Language : English - French?
    Location : Druid Hill Park

    Solved Re: Remove a Tooltip

    Post by Ace 1 October 23rd 2016, 11:22 pm

    @Luffy I actually want to remove the tooltip entirely. Like if I were to use this jQuery:

    Code:
    $('a').tooltipster();

    I want a function that will remove the tooltips from those
    Code:
    <a>
    tags.

    Also, your code didn't work.
    TheCrow
    TheCrow
    Manager
    Manager


    Male Posts : 6916
    Reputation : 795
    Language : Greek, English

    Solved Re: Remove a Tooltip

    Post by TheCrow October 23rd 2016, 11:25 pm

    Have you tried (?) :
    Code:
    $('a').tooltipster('destroy');



    tooltip - Remove a Tooltip Thecro10
     Forum of the Forums

    Forumotion Rules | Tips & Tricks |
    FAQ | Did you forget your password?



    *** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
    No support via PM!
    Ace 1
    Ace 1
    Helper
    Helper


    Male Posts : 843
    Reputation : 64
    Language : English - French?
    Location : Druid Hill Park

    Solved Re: Remove a Tooltip

    Post by Ace 1 October 24th 2016, 12:30 pm

    No I haven't. This works, especially well with

    Code:
    $('a').removeAttr('title');

    Thank you @Luffy
    Ape
    Ape
    Administrator
    Administrator


    Male Posts : 19437
    Reputation : 2010
    Language : fluent in dork / mumbojumbo & English haha

    Solved Re: Remove a Tooltip

    Post by Ape October 24th 2016, 12:31 pm

    Problem solved & topic archived.
    Please read our forum rules: ESF General Rules



    tooltip - Remove a Tooltip Left1212tooltip - Remove a Tooltip Center11tooltip - Remove a Tooltip Right112
    tooltip - Remove a Tooltip Ape_b110
    tooltip - Remove a Tooltip Ape1010

      Current date/time is November 14th 2024, 9:21 pm