codice:
/Top Nav bar script v2.1- http://www.dynamicdrive.com/dynamicindex1/sm/index.htm
function showToolbar()
{
// AddItem(id, text, hint, location, alternativeLocation);
// AddSubItem(idParent, text, hint, location, linktarget);
menu = new Menu();
menu.addItem("webmasterid", "news", "news", null, null);
menu.addItem("storiaid", "storia", "storia", null, null);
menu.addItem("freedownloadid", "free downloads", "free downloads", null, null);
menu.addItem("galleryid", "foto gallery", "foto gallery", null, null);
menu.addItem("disctestid", "discografia e testi", "discografia e testi", null, null);
menu.addItem("traduzionid", "traduzione testi", "traduzione testi", null, null);
menu.addItem("linkid", "links utili", "links utili", null, null);
menu.addSubItem("webmasterid", "vedi le news", "vedi le news", "news.html", "");
menu.addSubItem("webmasterid", "news dal sito ufficiale", "news dal sito ufficiale", "http://www.blink182/news.com/", "");
menu.addSubItem("storiaid", "storia della band", "storia della band", "storia_biog.html", "");
menu.addSubItem("storiaid", "biografia mark", "biografia mark", "storia_biog_mark.html", "");
menu.addSubItem("storiaid", "biografia tom", "biografia tom", "storia_biog_tom.html", "");
menu.addSubItem("storiaid", "biografia travis", "biorafia travis", "storia_biog_travis.html", "");
menu.addSubItem("freedownloadid", "rare mp3", "rare mp3", "downloads_raremp3.html", "");
menu.addSubItem("freedownloadid", "video speciali", "video speciali", "downloads_special_video.html", "");
menu.addSubItem("freedownloadid", "spartiti", "spartiti", "downloads_spartiti.zip", "");
menu.addSubItem("galleryid", "foto band", "foto band", "gallery_blink182.html", "");
menu.addSubItem("galleryid", "foto mark", "foto mark", "gallery_mark.html", "");
menu.addSubItem("galleryid", "foto tom", "foto tom", "gallery_tom.html", "");
menu.addSubItem("galleryid", "foto travis", "foto travis", "gallery_travis.html", "");
menu.addSubItem("galleryid", "foto boxcar racer", "foto boxcar racer", "gallery_boxcar.html", "");
menu.addSubItem("galleryid", "sfondi desktop", "sfondi desktop", "wallpaper.html", "");
menu.addSubItem("disctestid", "discografia", "discografia", "discografia.html", "");
menu.addSubItem("disctestid", "discografia + testi", "discografia + testi", "discografia_testi.html", "");
menu.addSubItem("traduzionid","flyswatter(1992)", "flyswatter(1992)","flyswatter_trad.html", "")
menu.addSubItem("traduzionid","buddha(1994)", "buddha(1994)","buddha_trad.html", "")
menu.addSubItem("traduzionid","they came to conquer..uranus(1995)","they came to conquer..uranus(1995)","theycame_trad.html", "")
menu.addSubItem("traduzionid","cheshire cat(1995)", "cheshire cat(1995)","cheshire_trad.html", "")
menu.addSubItem("traduzionid","dude ranch(1997)", "dude ranch(1997)","dude_trad.html", "")
menu.addSubItem("traduzionid","enema of the state(1999)", "enema of the state(1999)", "enema_trad.html","")
menu.addSubItem("traduzionid","the mark, tom and travis show(2000)","the mark, tom and travis show(2000)","mttshow_trad.html","")
menu.addSubItem("traduzionid","take off your pants and jacket(2001)","take off your pants and jacket(2001)","takeoff_trad.html","")
menu.addSubItem("traduzionid","blink-182(2003)", "blink-182(2003)","blink182_trad.html","")
menu.addSubItem("linkid", "blink182italia", "blink182.altervista.org", "http://blink182.altervista.org","")
menu.addSubItem("linkid", "sito ufficiale", "www.blink182.com", "http://www.blink182.com","")
menu.showMenu();
}