|
Post by Bradley on Dec 9, 2005 21:31:49 GMT -5
This will allow you to add a spacer image between the buttons in the top menu bar. Global Headers<script type="text/javascript"> <!-- var tds = document.getElementsByTagName('td'); var matchRegex = new RegExp("</a>&nb"+"sp;<a", "ig"); for (i=0;i<tds.length;i++){ if (tds[i].className=='menubg'){ tds[i].innerHTML = tds[i].innerHTML.replace(matchRegex,'</a><img src="[color=red]SPACER IMAGE URL[/color]" alt="|" /><a'); break;}} // --> </script>Url to the image you wish to use as a spacer.Edit on January 8, 2006: Fixed minor bug that took someone a month to point out to me.
|
|