|
Post by lochii on Apr 21, 2006 23:53:15 GMT -8
<script type="text/javascript"> /* Insert Menu Buttons Created by CrAzY_J ( http://hatakeforum.proboards30.com ) Do not modify or redstribute this code without the creator's permission */
function InsertLinks(ImageUrl,ClickUrl) { var gCell = document.body.getElementsByTagName( "td" )[5]; var Anchor = document.createElement( "a" ); var Img = document.createElement( "img" ); Anchor.href = ClickUrl Anchor.target = "_blank"; Img.src = ImageUrl;Img.border = 0; Anchor.appendChild(Img) var Shorter = gCell.firstChild; var Shorter2 = Shorter.getElementsByTagName( "a" ) Shorter.insertBefore(Anchor,Shorter2[0]); Shorter.insertBefore(document.createTextNode(' '),Shorter2[1]); }
InsertLinks("http://i5.photobucket.com/albums/y161/lochii/Latest%20XoW%20Buttons/XOW-WEBSITE.gif","http://www.freewebs.com/xonlinew/")
</script>
anyone know how i can change that code so i can give it a rollover effect?
|
|