tags:

views:

53

answers:

2

If you run a site that links to world of warcraft items, you're probably using the wowhead.com javascript to bring their item popups to your site. See it in action here, mouse over the "King Dred's Helm" link. It will popup Wowhead.com's info.

is this just a jsonp callback to their site?

I want to implement something like this on my site. Perhaps it could be done using jQuery html fragment and a jsonp callback to my own site?

A: 

yes it's JSON or ajax call

From.ME.to.YOU
so theoretically, I do a jsonp callback to my site... use jQuery to build an html fragment on their site? How about styling? Do it inline or ask site owner to copy a bit of css to their stylesheets?
Chad
+1  A: 

If you want this exact functionality check out this article on how to add wowhead tooltips on your site.

But, if you are after a generic tooltip, I'd definitely recommend qTip, which can handle dynamic tooltip content.

vassilis
Ah, I didn't mean I wanted to use wowhead on my site. But thanks for the link. ;D I was referring to "How?" did they do it. And yes, qTip rocks.
Chad