Post Fri Apr 26, 2013 10:43 pm

Hearthstone card tooltips on your website

Add this piece of HTML code in the <head> section of your page:
  Code:
<script type="text/javascript" src="http://static.hsdeck.com/js/hstooltips.js"></script>


Card tooltips:

Examples:
basic link: some card
  Code:
<a href="http://www.hsdeck.com/cards/archmage-antonidas">card</a>

link with card quality: Coldlight Seer
  Code:
<a class="cq2" href="http://www.hsdeck.com/cards/coldlight-seer">Coldlight Seer</a>

replace "cq2" with following codes to see links in other colors:
cq0 - basic quality
cq1 - common quality
cq2 - rare quality
cq3 - epic quality
cq4 - legendary quality

Deck tooltips:

Example: some deck
  Code:
<a href="http://www.hsdeck.com/deck/druid/PXmVnw">deck</a>