inherit
22517
0
Apr 30, 2009 18:49:13 GMT -8
Bradley
Has a new webhost. :) Needs to transfer a lot of stuff. :-/
5,246
April 2004
ccworldwebmaster
|
Post by Bradley on Dec 9, 2005 18:34:11 GMT -8
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="SPACER IMAGE URL" 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.
|
|