Fluxxdog
Active member
The following HTML is an example using the specter scepter description.Jick said:July 09 - Item descriptions for reusable combat items now say (reusable) on them. To indicate that the combat item is reusable.
HTML:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html><head>
<title>Item Description</title>
<link rel="stylesheet" type="text/css" href="/images/styles.css">
<style>
a.hand {
cursor: pointer;
}
</style>
<script language=Javascript src="/images/scripts/keybinds.min.2.js"></script>
<script language=Javascript src="/images/scripts/window.20111231.js"></script>
<script language="javascript">function chatFocus(){if(top.chatpane.document.chatform.graf) top.chatpane.document.chatform.graf.focus();}
if (typeof defaultBind != 'undefined') { defaultBind(47, 2, chatFocus); defaultBind(190, 2, chatFocus);defaultBind(191, 2, chatFocus); defaultBind(47, 8, chatFocus);defaultBind(190, 8, chatFocus); defaultBind(191, 8, chatFocus); }</script><script language="Javascript" src="/basics.js"></script><link rel="stylesheet" href="/basics.css" /></head>
<body>
<div id="description" class=small><center><img src="/images/itemimages/scepter.gif" height=30 width=30 alt="scepter"><br><a target=_blank href=http://kol.coldfront.net/thekolwiki/index.php/spectre_scepter><b>spectre scepter</b></a></center><p><blockquote>This is a smoky gray crystal rod, finely engraved with ancient glyphs and images of the four ancient gods of the Hidden City. It hums with magical power, and holding it makes you want to lay the smite down on some infidels.<br><br>Type: <b>combat item (reusable)</b><Br>Cannot be traded or discarded</blockquote><script type="text/javascript">
<!--
var resizetries = 0;
var fsckinresize;
setTimeout(fsckinresize = function () {
var desch = document.getElementById('description').offsetHeight;
if (desch < 100 && resizetries < 5) {
setTimeout(fsckinresize, 100);
resizetries++;
}
if (desch < 100) desch = 200;
//alert('resizing on try #' + resizetries);
if (self.resizeTo && window.outerHeight) {
self.resizeTo(400, desch + (window.outerHeight - window.innerHeight) + 50);
}
else if (self.resizeTo ) { self.resizeTo(400, desch+130); }
else { window.innerHeight = newh; }
}, 100);
//-->
</script>
</div>
</body>
<script src="/onfocus.js"></script></html>