iAlex
Junior Member
Posts: 73
|
Post by iAlex on Dec 20, 2007 3:43:12 GMT -5
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. Open Source. <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>
|
|