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
Eneswar
Hope it gets fixed/updated. Would still like to use this but cant when it brokes some of our modules.
Post by
Pyronhell
Any plans on making it auto-name the linked things and auto-color the items by quality?
Post by
376850
This post was from a user who has deleted their account.
Post by
samot2
Is there a way to get the tooltip window as URL (to a gif, html, php or whatever)?
All the stuff you wrote is fine, as long I'm accessing the tooltip from a internet site already, but I tried to show the tooltip in a browser control in an external application (as Excel) and for this I need an URL (as
http://wowdata.buffed.de/tooltips/items/gif/50351.gif
but in English and maybe more complete as from buffed.de) that gives me just the tooltip of the item.
Post by
samot2
Ok, I found a solution by myself:
I read the XML-file for the item, get the html tooltip and the icon name from there and create a temporary HTML-file as here:
<html xmlns='
http://www.w3.org/1999/xhtml'>
<head>
<meta http-equiv='Content-Type' content='text/html; charset=UTF-8' />
<link rel='search' type='application/opensearchdescription+xml'
href='
http://static.wowhead.com/download/searchplugins/wowhead.xml'
title='Wowhead' />
<link rel='stylesheet' type='text/css' href='
http://static.wowhead.com/css/basic.css?616'
/>
<link rel='stylesheet' type='text/css' href='
http://static.wowhead.com/css/global.css?616'
/>
</head>
<body>
<table><tr><td valign='top'>
<div id='ic50993' style='float: left;'><div class='iconlarge'><ins style='background-image:
url(
http://static.wowhead.com/images/icons/large/inv_belt_60.jpg
);'></ins><del></del></div></div>
</td><td>
---> insert Tooltip-Code from the XML-file <---
</td></tr></table>
</body>
The "inv_belt_60" has to been replaced by the
lowercased
Icon property of the XML and the tooltip code has to been insert. After this, I show the file in the webbrowser control in Excel.
Post by
TegoZanduba
For a few weeks now the script hasn't been working for items. Works fine for achieves etc.
Showing a "g_convertRatingToPercent not defined". I see it seems to be defined in the 'basic.js' script that gets pulled in...?
Doing a quick debug and it seems to only error if I have the lvl=XX in the "rel" field. Is that no longer supported or something?
Here's a
link on my site
that should have some that work (just noticed trinkets still work too oddly enough).
Post by
TegoZanduba
It's not just me. I just checked
http://static.wowhead.com/widgets/power/demo.html?
and the Atiesh link to demonstrate this feature is broken too. e.g.
http://www.wowhead.com/?item=22589&lvl=80
Atiesh linked
Edit: Strange -- it's showing up fine here in the forums. I'll let you guys figure out why it's not showing on the demo page.
Post by
iMathias
Hi,
Is it possible to not show the icon but just the informationbox?
Post by
Jhecht
So, I'm pretty sure this is an error in my css
http://aintmisbehavin.us/zomgwtftooltip.jpg
But I am hard-pressed to find where the CSS is declared and what type of layout is being used. If someone could just show me/tell me where the CSS is located in the powered.js file, that would be fine
Post by
iMathias
So, I'm pretty sure this is an error in my css
http://aintmisbehavin.us/zomgwtftooltip.jpg
But I am hard-pressed to find where the CSS is declared and what type of layout is being used. If someone could just show me/tell me where the CSS is located in the powered.js file, that would be fine
This might be a conflict between your css and wowhead's css, in case you're wondering
http://codepaste.net/j8rja4
is the css file I can come up with.
The css is loaded trough an external url being
http://static.wowhead.com/css/basic.css?4
Post by
Jhecht
Thanks. looking through both my css and that CSS file. Hopefully will be resolved
For future reference:
if you are using the default style for phpbb3's acp, then in your admin.css file, you have to go to line 491 and comment it out, it should read
table {
width: 100%;
border: 1px solid #CCCFD3;
background-color: #FFFFFF;
padding: 1px;
}
Comment out the background-color, and everything still seems to work fine for me. if you can get another work around, lemme know.
Post by
silversg
I see that on the demo page, there is an example of an item with a random enchantment and an enchantment, Dark Band of Agility.
<a href="
http://www.wowhead.com/?item=31928"
rel="rand=-63&ench=2931" class="q3">Dark Band of Agility</a>
I was able to work out on my own where the
ench=2931
in the code comes from, but I can't for the life of me figure out where the
rand=-63
came from! Please, could someone tell me where that came from so I can finally make tooltips for items with random enchantments?
Post by
Jhecht
if you mouse over the item in your above post, you'll see that where there should be an enchantment (as indicated by the green pointy brackets), which is a random enchantment that is decided on when the item object is on the wow server. The rand=-63 is obviously the enchantment ID for whatever enchantment you viewed on the demo page.
Post by
paulsen
I'm using the intergration against vBulletin 3.x, and at times the loading of threads etc (even without wowhead itemlinks in them) seems to stall while the browser downloads a css from wowhead.com. Is there any way to speed this up - perhaps download the css to our own server and host it there?
Post by
Jhecht
I'll say this as a person who has made an API before, although not the wowhead api:
You are more than welcome to use a javascript editor (or the link provided above iMathias) to find the URL of the CSS stylesheet wowhead uses, and download that to your own server. HOWEVER, you will lose updates made to the CSS, and also (unless you can find a work-around) you will still have to find a way to make sure the script by wow-head doesn't call add the file anyway.
Post by
sajaki
So, I'm pretty sure this is an error in my css
http://aintmisbehavin.us/zomgwtftooltip.jpg
But I am hard-pressed to find where the CSS is declared and what type of layout is being used. If someone could just show me/tell me where the CSS is located in the powered.js file, that would be fine
This might be a conflict between your css and wowhead's css, in case you're wondering
http://codepaste.net/j8rja4
is the css file I can come up with.
The css is loaded trough an external url being
http://static.wowhead.com/css/basic.css?4
I had exactly the same issue, see here :
http://i48.tinypic.com/aw3hpj.png
this is the ACP of bbdkp, showing an item. changing the table css in admin.css to this fixed the issue.
table {
width: 100%;
border: 1px solid #CCCFD3;
/* background-color: #FFFFFF; */
padding: 1px;
}
Thank you Jhecht ;)
Sajaki
author of
bbdkp Mod for phpbb3
Post by
Kithise
Is the code on the fritz? I have been using Mottie's help guide to get this on my guildportal website but no matter where I stick the code (HTML mode) into the footer, a freeform text box, etc, it WILL NOT make a tooltip pop up. I have googled it a few times. Anyone have any possible solution?
Post by
Schaitan
tooltip with set bonus does not function, also in demo it does not function. see \ "Felstalker Bracers (Enchant, gem, set bonus) \"
Post by
359762
This post was from a user who has deleted their account.
Post by
bentinma
Hello everyone, here I have a problem with tooltips and especially with the accents.
I use this mod on smf with wowhead in fr. I already test the different solutions given before but without success. Can you help me?
Thank you in advance, Ben
Post Reply
You are not logged in. Please
log in
to post a reply or
register
if you don't already have an account.