Matt
Graphics Admin
Great admin or greatest admin?
Posts: 4,891
|
Post by Matt on Jun 11, 2006 9:03:29 GMT -5
Created By: Mikeo Creator's Comments: Hello. This function will allow you to add an image or text to your menu. Cross-Browser. Global/Main/Board Footer <script type="text/javascript"> /* Made by Mikeo Do not repost --- dx5.proboards77.com */
var vMen = document.getElementsByTagName("TD")[5];
function addm(newm,newp) { if(newp == "right") { vMen.innerHTML+=newm; } else { vMen.innerHTML = newm+vMen.innerHTML; } }
addm('<a href="link"><img src="link"></a>','left'); addm('<a href="link"><img src="link"></a>','right'); </script>
add more addm('<a href="link"><img src="link"></a>','left'); for more menu items. Edit the 'left' to 'right' if you want it at the right. if you want a link to open in a new location you do target="_blank": addm('<a href="link" target="_blank"><img src="link"></a>','left'); Have fun
|
|