|
Post by iPokemon on Sept 5, 2011 17:54:50 GMT -5
Code Name: Replace Word in Board Description Crossbrowser: Yes Description: Will replace the specified word with what you want in the board description. Good for keeping track of index totals without having to go and modify boards.
Near bottom of Main Footer
<script type="text/javascript"><!-- /* Replace Word in Board Description by iPokemon http://bytemecodes.proboards.com/ Copyright 2011 Do not claim as own or repost */ function customReplace(c,a){ if(pb_action.match(/^(home|boardindex)$/i)){ var td = document.getElementsByTagName('td'); for(x=0;x<td.length;x++){ if(td[x].width == "66%" && td[x].align=="left"){ if(td[x].innerHTML.match(c)){ td[x].innerHTML = td[x].innerHTML.replace(c,a); } } } } } customReplace("{codeindex}","25"); //--></script>
|
|