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.

Remove a Tooltip

3 posters

Go down

Solved Remove a Tooltip

Post by Ace 1 October 23rd 2016, 3: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, 1:30 pm; edited 1 time in total
Ace 1
Ace 1
Helper
Helper

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

https://help.forumotion.com

Back to top Go down

Solved Re: Remove a Tooltip

Post by TheCrow October 24th 2016, 12:07 am

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!
TheCrow
TheCrow
Manager
Manager

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

https://www.inforumgr.com

Back to top Go down

Solved Re: Remove a Tooltip

Post by Ace 1 October 24th 2016, 12:22 am

@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.
Ace 1
Ace 1
Helper
Helper

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

https://help.forumotion.com

Back to top Go down

Solved Re: Remove a Tooltip

Post by TheCrow October 24th 2016, 12:25 am

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!
TheCrow
TheCrow
Manager
Manager

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

https://www.inforumgr.com

Back to top Go down

Solved Re: Remove a Tooltip

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

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

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

Thank you @Luffy
Ace 1
Ace 1
Helper
Helper

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

https://help.forumotion.com

Back to top Go down

Solved Re: Remove a Tooltip

Post by Ape October 24th 2016, 1: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
Ape
Ape
Administrator
Administrator

Male Posts : 19450
Reputation : 2011
Language : fluent in dork / mumbojumbo & English haha

http://chatworld.forumotion.co.uk/

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum