Peter
Junior Member
Coding God
Posts: 50
|
Post by Peter on Apr 29, 2006 13:37:15 GMT
Like the PM delete marker, but this time for advanced moderation. Next to the threads when you are in AM there are checkboxes, when clicked the row will highlight. <style type="text/css">
.ammarker td { background-color: #ffffff; }
</style>
<script type="text/javascript"> <!--
// AM Thread Marker
function amMarker(){ var iCheck = document.getElementsByTagName("input"); for(c = 0; c < iCheck.length; c ++){ if(iCheck.item(c).name.match(/^thread-\d+/) && iCheck.item(c).type == "checkbox"){ if(iCheck.item(c).checked){ iCheck.item(c).parentNode.parentNode.className = "ammarker"; } else { iCheck.item(c).parentNode.parentNode.className = ""; } } } }
if(location.href.match(/&moderationmode=1/i)){ document.onclick = amMarker; }
//--> </script>Global footer. Just change the color which is in bold
|
|