|
Post by Bradley on Jun 16, 2005 20:27:36 GMT -5
This code will remove the sapces found between the menu buttons.
Headers
<script type="text/javascript"> <!-- var menu = document.getElementsByTagName('td'); var matchRegex = new RegExp("</a>&nb"+"sp;<a", "ig"); for (i=0;i<menu.length;i++){ if (menu.className=='menubg'){ menu.innerHTML = menu.innerHTML.replace(matchRegex,'</a><a'); break;}} // --> </script>
|
|