Matt
Graphics Admin
Great admin or greatest admin?
Posts: 4,891
|
Post by Matt on Jun 11, 2006 9:02:14 GMT -5
Created By: Mikeo Creator's Comments: Hey, this one is a bit better than my other one.
It adds a button at the end of the menu.
Cross Browser / Global/Main/Board footer
<script type="text/javascript"> /* Made by Mikeo Do not repost --- dx5.proboards77.com */
function add2menu(vLi,vIm) { var vMen = document.getElementsByTagName("TD")[5]; var vLink = document.createElement("a");
vLink.href = vLi;
var vImg = document.createElement("img");
vImg.src = vIm; vImg.border = "0"; vLink.appendChild(vImg); vMen.appendChild(vLink);
}
add2menu("/index","http://www.proboards8.com/v4images/menu/home.gif"); </script>
Add more add2menu("/index","http://www.proboards8.com/v4images/menu/home.gif"); for more items.
The first part is the link, the second the button image.
Have fun.
|
|