|
Post by Jay on Jun 12, 2005 11:42:38 GMT -8
Compatibility: PBv3/PBv4, Crossbrowser Placement: Global Headers Notes: Gives you the ability to position the menu bar either above the banner, or below the banner. You can also align the menu buttons. Editing: see below
<script type="text/javascript"> <!--
var setIt = 'above'; // above: above banner, below: below banner var Classname = 'menubg'; // classname of menu background var Alignment = 'right'; // alignment of menu buttons
function getMe(tagname) { return document.getElementsByTagName(tagname); } var re1 = /(1|2)/i; var setMatch = (setIt.substring(0,5).match(/^above$/))? '2' : '1'; getMe('td')[5].align = Alignment; getMe('td')[5].className = Classname; var pathMe = getMe('table')[0].insertRow(getMe('table')[0].rows.length - setMatch).insertCell(0); pathMe.style.padding = '0px'; pathMe.innerHTML = getMe('td')[5].innerHTML; getMe('td')[5].parentNode.parentNode.removeChild(getMe('td')[5].parentNode);
//--> </script>
Red - position of menu bar, 'above' for above banner, 'below' for below. Blue - classname of menu bar Green - alignment of menu bar
|
|
|
Post by Smashey on Jun 16, 2005 17:35:39 GMT -8
I LOVE YOU!
|
|
|
Post by Jay on Jun 18, 2005 3:58:55 GMT -8
Lol, it's just a code. Please save the excrutiating remarks for PM. =p
Jay
|
|