vForums Support > Programming & Coding :: Database of Codes/Hacks/Mods :: > Strikethrough Locked Topics
Strikethrough Locked Topics - Posted By Michael (wrighty) on 16th Mar 08 at 11:49am
This will change all locked titles of topics to: The Title so that they are strikedthrough to help see which topics are locked and which aren't
<script>
/*Strikethrough Locked Topics
Coded By Wrighty
No Ripping, Reposting or Claiming*/
var _d = get('td','tag');
function _x(){
for(i=0; i<_d.length; i++){
if(_d[i].className == 'window1' && _d[i].innerHTML.match(/\[L\]/)){
_d[i+1].getElementsByTagName('a')[0].style.cssText = 'text-decoration: line-through;';
}
}
}
if(location.href.match(/\/board\/(\w)/)){
_x();
}
</script>
Global Footer