|
Post by Zaxinou on Jul 6, 2011 11:15:59 GMT 10
This code was made by iAlex and I'm reposting here.
This will replace the folder icon of moved threads with a new Moved icon. This is the moved icon: You can change it via the URL at the top of the code if you wish. Here is a preview: ClickCross Browser. Global Footer. Proboards.
<script type="text/javascript"> <!-- /*Folder Icon for Moved Threads - By iAlex - Open Source*/ var iTheButton="http://img526.imageshack.us/img526/1970/moveitbuttonue2.png"; //Button URL if(location.href.match(/board=/) && !location.href.match(/action/)){ var iTd=document.getElementsByTagName('td'); for(i=0;i<iTd.length;i++){ if(iTd.item(i).width.match(/^4(8|3)%$/) && iTd.item(i).className.match(/windowbg$/) && iTd.item(i-1).width=="5%" && iTd.item(i).innerHTML.match(/>Moved: /)){ iTd.item(i-2).getElementsByTagName('img').item(0).src=iTheButton } } } //--> </script>
|
|