<script src="http://www.axiomfiles.com/Files/258012/armory-min.js"></script> <script type="text/javascript"> $(document).ready(function(){ addArmoryPopups(); }) </script>
<script src="http://www.axiomfiles.com/Files/258012/armory-min.js"></script> <script type="text/javascript"> $(document).ready(function(){ options = { armoryWidth : 250, armoryHeight : 400, popupWidth : 350, // size of the popup window, 350 = width of wowhead tooltips popupHeight : 580, // add about 180px for the extra info below the 3D image popupBodyCSS : "background:#000000;color:#ffffff;", popupLinkCSS : "color:#ffffff;text-decoration:none;", armoryIcon : "http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/3darmory.png" } addArmoryPopups(options); }) </script>
<script src="http://www.axiomfiles.com/Files/258012/armory-min.js"></script> <script type="text/javascript"> $(document).ready(function(){ options = { armoryWidth : 125, armoryHeight : 200 } addArmoryPopups(options); }) </script>
<script src="http://www.axiomfiles.com/Files/258012/armory-min.js"></script> <script type="text/javascript"> $(document).ready(function(){ options = { armoryWidth : 125, armoryHeight : 200, popupWidth : 550, // size of the popup window, 350 = width of wowhead tooltips popupHeight : 780 // add about 180px for the extra info below the 3D image } addArmoryPopups(options); }) </script>
<script src="http://www.axiomfiles.com/Files/258012/armory-min.js"></script> <script type="text/javascript"> $(document).ready(function(){ options = { popupBodyCSS : "background:#ddd;color:#000;", popupLinkCSS : "color:#ffcc00;text-decoration:none;" } addArmoryPopups(options); }) </script>
<script src="http://www.axiomfiles.com/Files/258012/armory-min.js"></script> <script type="text/javascript"> $(document).ready(function(){ options = { armoryIcon : "http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/wow-3.png" } addArmoryPopups(options); }) </script>
<script type="text/javascript">$(document).ready(function() { var armoryWidth = 250; // size of the 3D armory image var armoryHeight = 400; var popupWidth = 350; // size of the popup window, 350 = width of wowhead tooltips var popupHeight = 580; // add about 180px for the extra info below the 3D image var popupBodyCSS = "background:#000000;color:#ffffff;"; var popupLinkCSS = "color:#ffffff;text-decoration:none;"; var threeDArmoryIcon = "http://i201.photobucket.com/albums/aa236/Mottie1/testsite/icons/3darmory.png";// ****************************// Don't change anything below// **************************** $('a[href*="wowarmory.com"]').each(function(){ var tmp = '<img src="' + threeDArmoryIcon + '" style="cursor:pointer" title="View ' + $(this).html() + ' on 3D Armory" rel="' + $(this).html() + '" width="18" height="18"> '; $(this).before(tmp); $(this).attr('href', $(this).attr('href').replace(/(\+&)/,'&')); // Fix for the messed up "Cenarius+" realm link }) var popupOptions = 'toolbar=0,status=0,width=' + popupWidth + ',height=' + popupHeight; var tmp = $('a[href*="wowarmory.com/character-sheet"]').attr('href'); if (tmp != null) { var server = tmp.replace(/http:\/\//,'').split('.')[0]; if (server == 'www') server = 'us'; var realm = gup('r',tmp); } $('img[title*="3D Armory"]').click(function(){ var tmp = '<style>body{' + popupBodyCSS + '} a {' + popupLinkCSS + '}</style><scr' + 'ipt src="http://www.wowhead.com/widgets/power.js"></scr' + 'ipt><scr' + 'ipt ' + 'src="http://www.3darmory.com/api/toon_detailed/' + server + '/' + realm + '/' + $(this).attr('rel') + '/' + armoryWidth + '/' + armoryHeight + '" type="text/javascript"/></scr' + 'ipt>'; var ap = window.open('','3DArmory',popupOptions); ap.focus(); ap.document.write(tmp); }) function gup(name, myString) { name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]"); var regexS = "[\\?&]"+name+"=([^&#]*)"; var regex = new RegExp( regexS ); var results = regex.exec( myString ); if( results == null ) return ""; else return results[1]; }});</script>