The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Remove a Tooltip

View previous topic View next topic Go down

Solved Remove a Tooltip

Post by Ace 1 on 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
avatar
Ace 1
Helper
Helper

Male Posts : 826
Reputation : 62
Language : English - French?
Location : Druid Hill Park

http://help.forumotion.com

Back to top Go down

Solved Re: Remove a Tooltip

Post by Luffy on 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 });





avatar
Luffy
Manager
Manager

Male Posts : 4878
Reputation : 500
Language : Greek, English
Location : Greece

http://thinktank.forumotion.com/

Back to top Go down

Solved Re: Remove a Tooltip

Post by Ace 1 on 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.
avatar
Ace 1
Helper
Helper

Male Posts : 826
Reputation : 62
Language : English - French?
Location : Druid Hill Park

http://help.forumotion.com

Back to top Go down

Solved Re: Remove a Tooltip

Post by Luffy on October 23rd 2016, 11:25 pm

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





avatar
Luffy
Manager
Manager

Male Posts : 4878
Reputation : 500
Language : Greek, English
Location : Greece

http://thinktank.forumotion.com/

Back to top Go down

Solved Re: Remove a Tooltip

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

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

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

Thank you @Luffy
avatar
Ace 1
Helper
Helper

Male Posts : 826
Reputation : 62
Language : English - French?
Location : Druid Hill Park

http://help.forumotion.com

Back to top Go down

Solved Re: Remove a Tooltip

Post by APE on October 24th 2016, 12:31 pm

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



avatar
APE
Manager
Manager

Male Posts : 11038
Reputation : 1036
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

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

Back to top Go down

View previous topic View next topic Back to top


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