|
Post by madmanjimmy on Jun 11, 2006 5:48:17 GMT -5
This will replace the o/off icon with a different image, it gives the option of which board in the code.
Main Footer
<script type='text/javascript'> <!-- /* Locked board icon by Nick Code may be reposted and edited as long as this header stays intact. */
// Url to Locked Icon here var lockedIcon="Add url here"
function lockedBoard(board){ BoardCell = document.getElementsByTagName('TD'); for(R=0;R<BoardCell.length;R++){ if(BoardCell[R].className=="windowbg2" && BoardCell[R].width=="66%" && BoardCell[R].innerHTML.match(board)){ BoardCell[R-1].innerHTML = '<img src="' + lockedIcon + '" border="0">' }}}
lockedBoard("Add Board Name here") //--> </script>
|
|