This site makes extensive use of JavaScript.
Please enable JavaScript in your browser.
Classic Theme
Thottbot Theme
Powered Tooltips Guide
Post Reply
Return to board index
Post by
Talinwind
Hello, I recently use Wowhead tooltips to make a list of the transmogrification set I have.
I really like the table shown on the armor set page, under "related / transmog sets" tab ...
So i try to do similar make up.
See a snipplet here
https://jsfiddle.net/q8umraob/
1st question : How to specify the race and sex used for the transmog set preview ?
if I link
Battlegear of Iron Wrath (Normal Recolor)
the preview is human female (0,0)
2nd question: is it a way to use wowhead API to query the pieces of a set ?
for now i aggregate the data myself, I need to list each pieces to the set, as you can see in the "data" array on the snipplet.
var data =
}
];
Thanks for your advises.
Post by
Bwolfing
I apologize if this has already been asked and answered, or is somewhere in the
guide
and I am just missing it, but is there any interface in power.js which can be called to rewrite link text similar to the renamelinks option in wowhead_tooltips configuration object?
I'm planning to load a paginated list of WoW items, and I would like to display links for those new items as they enter the DOM, and although it displays the tooltip I would like the link renaming to happen as well (since I only receive the item IDs from Blizzard). Any advice on how to approach this?
UPDATE
: I found the solution I was looking for in
this post
!
Post by
Benio101
In order to add tooltips to dynamically generated, or ajax loaded content
(once you've initialized tooltip already)
, simply call:
$WowheadPower.refreshLinks();
In order to load wowhead tooltips deffered, simply add into header:
<script>
// tooltip options
var wowhead_tooltips = {
'colorlinks': true,
'iconizelinks': true,
'renamelinks': true,
};
$(document).ready(function(){
// update tooltips
if(typeof $WowheadPower == 'undefined'){
$.getScript('//wow.zamimg.com/widgets/power.js');
} else {
$WowheadPower.refreshLinks();
}
});
<script>
In order to call fail–safe tooltip loading from unknown state, simply call:
try{
// update tooltips
if(typeof $WowheadPower == 'undefined'){
$.getScript('//wow.zamimg.com/widgets/power.js');
} else {
$WowheadPower.refreshLinks();
}
} finally {}
Post by
LadySawen
Hi there,
I am not coding at all so please excuse my ignorance here.
I have a Wordpress Blog (not self hosted) and I am not allowed to inject Javascript code, I was wondering if there is a workaround I could use so I can display the tooltips on my blog.
I know I am very limited and it's a long shot, but I figured that I might just ask here.
Post by
Frostborn
I think I have found a little bug. I'm using Wowhead tooltips on my website.
But when I click on a Wowhead link that opens a tooltip (ie: an item) which have a spell information that's clickable like this:
http://i.imgur.com/avWgycP.png
That links become my website's link like this:
http://i.imgur.com/yxBfVO3.png
Hope you fix that little devil :)
Post by
ToHan0510
Hello,
I'm useing MyBB 1,8, how I can impliment this code <script type="text/javascript" src="//wow.zamimg.com/widgets/power.js"></script><script>var wowhead_tooltips = { "colorlinks": true, "iconizelinks": true, "renamelinks": true }</script> into the forum.
Thanks for every help.
Post by
Frazley
The tooltips page is giving me a 404 error.
Post by
Frostborn
Hello. Is it possible to make iconizelinks": true to iconizelinks": false for a specific section of a page?
Post by
yawren
How do I add enchants/random enchantment to classic item tooltips? I am adding '&rand=' / '&ench=' to my links, but I can't get it to work. Can anyone give me an example?
Post by
SamiHuutoniemi
On achievements, the cri parameter tells what criteria are completed. Is there a way to specify the amount parameter for the criterium?
For example,
Got My Mind On My Money
Post by
adios
've been using Wowhead powered tooltips on my guild's website for a couple of months and one thing I would *really* love to see added is "official" support for automatically coloring links. I know a few people have written their own code to do this, but I think it would be an excelent feature to be added to the default script.
I know that "another" popular wow database already has this feature, but I don't like the rest of their site so I'd much prefer to continue to use Wowhead. Is there any chance of this getting implimented?
Post by
CautionDRUNK
hello all
need forum addons xenforo system
Post Reply
You are not logged in. Please
log in
to post a reply or
register
if you don't already have an account.