Page 1 of 1

Wowhead tooltips?

Posted: Fri Jun 13, 2014 5:09 pm
by Komma
Should we consider adding the JS for wowhead tooltips for easy linking/discussion?

http://www.wowhead.com/tooltips" target="_blank

Re: Wowhead tooltips?

Posted: Fri Jun 13, 2014 5:39 pm
by Kver
Really slows done the page though. I'll leave this to Dutch to decide.

Re: Wowhead tooltips?

Posted: Thu Jun 19, 2014 11:21 am
by Dutchmagoz
I've added them, since after checking the source, it doesn't do anything until the page finished loading, so it won't affect load times or performance.

http://www.wowhead.com/spell=11366" target="_blank

Re: Wowhead tooltips?

Posted: Thu Jun 19, 2014 5:33 pm
by nathyiel
I've added them, since after checking the source, it doesn't do anything until the page finished loading, so it won't affect load times or performance.

http://www.wowhead.com/spell=11366" target="_blank
So how did it work ?
Did it just a link to wowhead spell ? or can we have balise like [wowhead= ...] ?

Re: Wowhead tooltips?

Posted: Thu Jun 19, 2014 5:38 pm
by Komma
I think it works automatically whenever you link to a wowhead item.

Re: Wowhead tooltips?

Posted: Thu Jun 19, 2014 5:57 pm
by Dutchmagoz
Yes, just link a wowhead item/spell.

Re: Wowhead tooltips?

Posted: Thu Jun 19, 2014 6:00 pm
by nathyiel
I just check my link in the Alpha/frost topic (2nd post), and it work good.
Even better, we don't have to use [ url] and the link is named accordingly.

edit :
test WoD link :

Code: Select all

http://wod.wowhead.com/spell=12982
direct link : http://wod.wowhead.com/spell=12982" target="_blank
with : [url=http://wod.wowhead.com/spell=12982]Shatter with balise

live link :

Code: Select all

http://wowhead.com/spell=12982
direct link : http://wowhead.com/spell=12982" target="_blank
with : [url=http://wowhead.com/spell=12982]Shatter with balise

edit #2 :
Don't use any balise (B or other) or the link won't be parsed and be broken.
http://wowhead.com/spell=12982

Re: Wowhead tooltips?

Posted: Thu Jun 19, 2014 6:13 pm
by Dutchmagoz
Using B or U or something will work if you surround the url by url tags as well. I will probably add tags for [item]id[/item] (and [spell]id[/spell]) to generate the links and tooltips as well so people can check ID's ingame and not have to find an item on wowhead first.

Example with using B and url tag:
http://wowhead.com/spell=12982