inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Sept 24, 2005 11:38:09 GMT -8
This code will highlight the row when you click on the checkbox to delete it. <style type="text/css">
.pmmarker td { background-color: #ffffff; }
</style>
<script type="text/javascript"> <!--
// PM Delete Marker
function pmMarker(){ var iCheck = document.getElementsByTagName("input"); for(c = 0; c < iCheck.length; c ++){ if(iCheck.item(c).name.match(/^delete-\d+/) && iCheck.item(c).type == "checkbox"){ if(iCheck.item(c).checked){ iCheck.item(c).parentNode.parentNode.className = "pmmarker"; } else { iCheck.item(c).parentNode.parentNode.className = ""; } } } }
if(location.href.match(/=pm(&view=\d)?$/i)){ document.onclick = pmMarker; }
//--> </script>Change the bit in bold to the colour you want the row to be when it is selected. Goes in your global footer
|
|