Board Logo

 Username:    Password:    Stay logged in: Welcome Guest. Please Login or Register.  Jul 25th, 2017, 09:54am


Board Hacks
Important News
Please read the notes posted with any codes carefully, as they will usually tell you where they need to go.
Welcome to the Conforums Hacks Board!

All codes here have been tested but we accept no responsibility if these codes do not work on your board, or have an adverse effect when used in combination with other codes.

This board is read only. Any queries or requests for codes should be made on the Coding Forum

Helpful sites
Google
Dynamic Drive

The Staff
Roger
Dave
GIzzy



« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: Add extra image to menu bar  (Read 6458 times)
Garet
Conforums Elite
Senior Member


member is offline

Avatar




Homepage PM

Gender: Male
Posts: 2073
xx Add extra image to menu bar
« Thread started on: Aug 19th, 2006, 04:11am »

This code will allow you to add extra buttons to the Menu Bar (navigation bar).

Global Headers
Cross Browser in IE, FF & Opera
Edit Red


<script type="text/javascript">
<!--

/*
Add New Buttons to Menu Bar
*/

function newm(urlz,srcz){
var tdz=document.getElementsByTagName("td")[5]
var picz=document.createElement("img");var linkz=document.createElement("a");
var spacez=document.createTextNode("\u00a0");
picz.border="0";picz.src=srcz;linkz.href=urlz;
linkz.appendChild(picz);tdz.appendChild(linkz);tdz.appendChild(spacez);
}

newm("URL OF LINK", "URL OF IMAGE");


//-->
</script>


Add more of this line if you want to add more buttons.
newm("URL OF LINK", "URL OF IMAGE");
« Last Edit: Aug 19th, 2006, 04:21am by Garet » User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

Back To Top
Donate $6.99 for 50,000 Ad-Free Pageviews!

| |

This forum powered for FREE by Conforums ©
Sign up for your own Free Message Board today!
Terms of Service | Privacy Policy | Conforums Support | Parental Controls