I just started working on a new client's website and one of my first obstacles to tackle is adding a "new art" button along the navigation menu at the top. (for reference the url to the navigation is this:
http://www.thejam2.com/two/)
I can't seem to get a new "New Art" button and I've tried copying what the previous webmaster has...how the heck do I add a new button? Here is the code below:
------------------------------------------------------------------
menuImage = {};
function makeMenu(){
var imgs = ["thejam","theartist","viewit","orderit","theCollage","theBorder","detailedImages","theMusicians"];
for(i in imgs){
menuImage[imgs[i]+"off"] = new Image();
menuImage[imgs[i]+"off"].src = "pics/menu_"+imgs[i]+".gif";
menuImage[imgs[i]+"on"] = new Image();
menuImage[imgs[i]+"on"].src = "pics/menu_"+imgs[i]+"_on.gif";
}
document.write('<div id="menu"><table width="'+((ns4) ? 794 : '100%')+'" cellpadding=0 cellspacing=0 border=0>');
if(ns4) document.write('<tr><td><img src="pics/spacer.gif" width="418" height="1"></td><td><img src="pics/spacer.gif" width="94" height="1"></td><td><img src="pics/spacer.gif" width="94" height="1"></td><td><img src="pics/spacer.gif" width="94" height="1"></td><td><img src="pics/spacer.gif" width="94" height="1"></td></tr>');
document.write('<tr><td width="100%"> </td>');
document.write('<td width="94" background="pics/button_starBig.gif" width="75">' + makeButton('bios.php?artist=about','thejam','jamMenu') + '<br></td>');
document.write('<td width="94" background="pics/button_guitarBig.gif" width="75">' + makeButton('bios.php?artist=mike_keirstead','theartist') + '</td>');
document.write('<td width="94" background="pics/button_starBig.gif" width="75">' + makeButton('jam2.php','viewit','viewMenu') + '</td>');
document.write('<td width="94" background="pics/button_guitarBig.gif" width="75">' + makeButton('jam2.php?loc=order','orderit') + '</td></tr>');
document.write('<tr><td> </td><td>');
makeJamMenu();
document.write('</td><td colspan="3" align="center">');
makeViewMenu();
document.write('</td></tr></table></div>');
}
----------------------------------------------------------------------------
Any help would be GREATLY APPRECIATED!!!!!!!