Skip to content

Instantly share code, notes, and snippets.

@kaspergrubbe
Created February 16, 2013 23:30
Show Gist options
  • Save kaspergrubbe/4969205 to your computer and use it in GitHub Desktop.
Save kaspergrubbe/4969205 to your computer and use it in GitHub Desktop.
document.getElementById('stdbox').outerHTML ='<span id="itemtools" style="z-index:99;"><table cellspacing=0 width=60><tr><td><img src="'+picaddr+'chat/gfx/box/minibox_top_left.gif"></td><td background="'+picaddr+'chat/gfx/box/minibox_top_bg.gif"><table width="100%" cellspacing=0><tr><td width=1><img onclick="deleteitemtools();" src="'+picaddr+'chat/gfx/diverse/arrow_up.gif"></td><td><img src="'+picaddr+'chat/gfx/diverse/spacer.gif"><br><img src="'+picaddr+'chat/gfx/box/titles/ting.gif"></td></td></tr></table></td><td><img src="'+picaddr+'chat/gfx/box/minibox_top_right.gif"></td></tr><tr><td background="'+picaddr+'chat/gfx/box/minibox_left_bg.gif"><img src="'+picaddr+'chat/gfx/diverse/spacer.gif"></td><td bgcolor="white" width="100%" align="center" style="padding-top:2"><a onclick="pickupitem('+id+')"><img src="'+picaddr+'chat/gfx/diverse/hand.gif" style="border-width:1;border-style:solid;border-color:white;" onmouseover="this.style.borderColor=\'black\'" onmouseout="this.style.borderColor=\'white\'"></a> <a onclick="parent.document.frames['iframe'].location.replace\'iframe/tinginfo.php?id='+id+'\');parent.document.frames['3db_menu'].location.replace(\'iframe/menu.php?m_id=1&btn_id=99\');"><img src="'+picaddr+'chat/gfx/diverse/info.gif" style="border-width:1;border-style:solid;border-color:white;" onmouseover="this.style.borderColor=\'black\'" onmouseout="this.style.borderColor=\'white\'"></a></td><td background="'+picaddr+'chat/gfx/box/minibox_right_bg.gif"><img src="'+picaddr+'chat/gfx/diverse/spacer.gif"></td></tr><tr><td><img src="'+picaddr+'chat/gfx/box/minibox_bottom_left.gif"></td><td background="'+picaddr+'chat/gfx/box/minibox_bottom_bg.gif"><img src="'+picaddr+'chat/gfx/diverse/spacer.gif"></td><td><img src="'+picaddr+'chat/gfx/box/minibox_bottom_right.gif"></td></tr></table></span><span id="stdbox"></span>';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment