This site makes extensive use of JavaScript.
Please enable JavaScript in your browser.
Live
PTR
10.2.5
PTR
10.2.6
Wowhead Tooltip | Rename links for *specific* links only?
Post Reply
Return to board index
Post by
add1kted2ka0s
Hi,
I use Wowhead tooltips for my wow-themed site, for most places on the site I would like to use the following configuration :
var wowhead_tooltips = {
"colorlinks": false,
"iconizelinks": false,
"renamelinks": false
};
But at one specific place where I'm showing Wowhead tooltip for a piece of gear for which I only have the ItemID - I'd like to use the renamelinks feature to rename and colorize the links like so :
var wowhead_tooltips = {
"colorlinks": true,
"iconizelinks": false,
"renamelinks": true
};
Is it possible to do this? I.e. by specifying a class parameter in the HTML? I.e. the following code below in the original HTML :
<a href="
http://www.wowhead.com/item=104502"
class="?">GENERIC ITEM NAME</a>
should become like below in the final rendered HTML :
<a href="
http://www.wowhead.com/item=104502"
class="?">Extinguished Ember of Galakras</a>
I'm ok with just the renamelinks functionality and not the colorlinks functionality (although both would be ideal)
Thanks!
Post Reply
You are not logged in. Please
log in
to post a reply or
register
if you don't already have an account.