This code lets you choose an icon for moved topics, instead of the locked topic icon.
Default Icon:
Code:
- <script type="text/javascript">
- <!--
- //Moved Topic Icon by Cr0w
- //Do not repost
- var MoveImg = "http://img73.imageshack.us/img73/4863/movedjh2.gif" //Moved Topic Icon URL
- var showMoved = 0; // 0 = Hide "Moved:" from topic link, 1 = Show "Moved:" in topic link
- var td=document.getElementsByTagName('td');
- for(t=0;t<td.length;t++){
- if(td[t].innerHTML.match(/Moved:/) && td[t].className.match(/window2/) && location.href.match(/board/) && td[t].width=="54%"){
- td[t-1].getElementsByTagName('img')[0].src = MoveImg;
- if(showMoved==0) td[t].innerHTML = td[t].innerHTML.replace('Moved: ','')
- }
- }
- //-->
- </script>
Global Footer.
You stoled it... I Was going to make this...
Mine would have been better!
You stoled it... I Was going to make this...
Mine would have been better!
I made this code in August 2006.
oh dear... slight problem I just realised, if there's multi topic moderation, it'll remove the checkbox...
you're better off using something like:
td[t-1].getElementByTagName('img')[0].src = MoveImg
Fixed.