Ross
eCreations Staff
Posts: 1,768
|
Post by Ross on Jul 3, 2005 17:01:09 GMT
Global Header
If you're using Text menus, this will let you change the dividers.
<script type="text/javascript"> <!-- /* fix text menus by ross */
var startChar = '['; //Start character var dividerChar = '-'; //Dividing Character(s); var endChar = ']'; //End character
//no need to edit below var menu = document.getElementsByTagName('td').item(5).firstChild; var a = menu.innerHTML.replace(/^(<.+?>)\[/,startChar+' $1'); var b = a.replace(/\](<\/a>) (<a.+?>)\[/gi,'$1 '+dividerChar+' $2'); var c = b.replace(/\](<\/a>) /i,'$1 '+endChar); menu.innerHTML = c; //--> </script>
|
|