|
Post by James on Apr 12, 2005 3:32:50 GMT
Board Footers. <script type="text/javascript"> <!--
/* Add Read-Only message to locked threads
Created by A._Leon Copyright © 2003 - 2005 SolidSnakeDesigns.com All Rights Reserved
This code may not be redistributed without express permission from the creator. This header must stay intact at all times. */
var iObjects = ["stickylock","locked","gif","This thread is Read-Only"];
var iFont = document.getElementsByTagName("font"); for (f = 0; f < iFont.length; f ++) { if (iFont.item(f).size == "-1" && iFont.item(f).className == "cattext" && iFont.item(f).childNodes[1].tagName.toLowerCase() == "img") { if (iFont.item(f).childNodes[1].src.match(new RegExp('(' + iObjects[0] + '|' + iObjects[1] + ')\.' + iObjects[2],'i'))) { for (x = f + 1; x < iFont.length; x ++) { if (iFont.item(x).size == "1" && iFont.item(x).childNodes[1].tagName) { if (iFont.item(x).childNodes[1].tagName.toLowerCase() == "b") { var iText = document.createTextNode(iObjects[3]); iFont.item(x).appendChild(document.createElement("br")); iFont.item(x).appendChild(iText); break; } } } } break; } }
//--> </script>Change the orangeto the name of the locked sticky icon. Change the green to the name of the locked icon. Change the red to the file extention. Do not include the period. Change the blue to that message you want to display. [Cross Browser]
|
|