Torchlight 2 Armory Tooltips

This short guide will walk you through adding tooltips from Torchlight 2 Armory to your website.

1. Installation

Add the following code to your page. Preferably at the end of your page after the closing body tag. <script type="text/javascript" src=""></script>
If you like you can download a test html page (Right-click and save as) that you can upload to your server to test features and play with stuff without any copy/pasting from here.

2. Usage

Links to items and skills will now support a tooltip straight from our database. Code: <a href="">Helmcracker</a>
Result: Helmcracker

Quality Colored Links

Links can be colored based on quality level. Simply use "class=q#" where # is a number between 1 and 6. 1 = White (Normal), 2 = Green (Magic), 3 = Blue (Rare), 4 = Orange (Unique), 5 = Pink (Legendary), 6 = Purple (Quest). Code: <a href="" class="q4">[Helmcracker]</a>
Result: [Helmcracker]
Code: <a href="" class="q5">[Mountain of the Cannibal God]</a>
Result: [Mountain of the Cannibal God]

Other Links

Skills and NPCs also support links. Code: <a href=" Hammer" class="q1">Ember Hammer</a>
Result: Ember Hammer
Code: <a href="">General Grell</a>
Result: General Grell

Use the "rel" attribute to have a skill tooltip display a certain rank. Code: <a href=" Hammer" rel="&amp;rank=5">Ember Hammer</a>
Result: Ember Hammer


Use our tooltips on your website? Send us a message and we will list your site below.



Questions, comments, problems or concerns? Feel free to contact us.