Ciao a tutti
Ho bisogno di una mano
Sto usando in un sito il menu in JS che incollerò più sotto
Tutti i link del menu puntano a pagine interne al sito su pagina parent (interna al frame)
ho aggiunto alcubi link ad un sito esterno e vorrei che (solo questi) si aprissero su una pagina blank e non parent
che sintssi devo aggiungere al seguente script?
aggiungo che non sono programmatore 8credo si sia già capito...) e sono un analfabeta di queste cose![]()
grazie a tutti
var dimensioneK = [
// globals -----------------
[ Xmenu.prototype.VERTICAL,
2, // delay in sec. before closing menu
false, // onclick / onmouseover
true, // horizontal & vertical menu: menu appears below/right of the root-node
false, // horizontal menu: each hierarchy starts on same X
false, // keep expansion state
true, // highlight clicked nodes
[ '/img/spacer.gif1', 20, 1 ] // XlayerParent img
],
// styles ------------------
[ [ "#ff4400", "#ffaaaa" ], // onclick-menu: color of clicked node
[ 0, 2, 177, 20, null, [ "#eeeeee", "#000033", "center", true, "Arial, Helvetica", 14, false, "/img/arrow_horiz.gif", 3, 5, 10 ],[ "#E90000", "#dddddd", "center", true, "Verdana, Helvetica, Arial", 2, null, 1, 20, 0 ] ], // xlayer style: [xOffset, yOffset, width, height, fading: [start_val, stop_val, steps, delay(ms)], style onmouseout: [bgcolor, fgcolor, align, bold, fontFace, fontSize, img, img_width, img_height, tile(horiz/vert)], onmouseover: [ bgcolor, fgcolor, align, fontFace, fontSize ]]
[ 0, 2, 177, 20, null, [ "#eeeeee", "#000033", "left", true, "Arial, Helvetica", 12, false, "/img/arrow_horiz.gif", 3, 5, 10 ],[ "#E40000", "#dddddd", "center", true, "Verdana, Helvetica, Arial", 1, "/img/spacer.gif2", 1, 1, 0 ] ],
[ -8, 4, 120, 18, null,[ "#ffffff", "#000033", "left", true, "Arial, Helvetica", 10, false, "/img/arrow_horiz.gif", 3, 5, 10 ],[ "#DF0000", "#dddddd", "center", true, "Verdana, Helvetica, Arial", 1, "/img/spacer.gif3", 1, 1, 0 ] ],
[ -4, 4, 100, 18, null,[ "#ffffff", "#000033", "left", true, "Arial, Helvetica", 10, false, "/img/arrow_horiz.gif", 3, 5, 10 ],[ "#DA0000", "#dddddd", "center", true, "Verdana, Helvetica, Arial", 1, "/img/spacer.gif4", 1, 1, 0 ] ]
],
// content ----------
[
[ "Menu", null, 0 ], // content: [text, href, hierarchyLevel]
[ "Comunicazioni", null, 1 ],
[ "Circolari Regionali", "", 2 ],
[ "Circolari Nazionali", "", 2 ],
[ "Calendario", null, 1 ],
[ "Anno 2007", "calendario 2007.htm", 2 ],
[ "Gare", null, 1 ],
[ "Anno 2007", "", 2 ],
[ "Archivio", "", 2 ],
[ "Federazione e Norme", null, 1 ],
[ "F.I.K.T.A.", "http://www.fikta.it", 2 ],
[ "Programmi d'esame", "http://www.dimensionek.it/palestra/esami.htm", 2 ],
[ "Norme Competizioni", "http://www.dimensionek.it/palestra/norme.htm", 2 ],
[ "Kata", "http://www.dimensionek.it/palestra/norme-kata.htm", 2 ],
[ "Kumite", "http://www.dimensionek.it/palestra/norme-kumite.htm", 2 ],
[ "Fukugo", "http://www.dimensionek.it/palestra/norme-fukugo.htm", 2 ],
[ "Enbu", "http://www.dimensionek.it/palestra/norme-enbu.htm", 2 ],
[ "Jiyu Ippon Kumite", "http://www.dimensionek.it/palestra/juipkumite.htm", 2 ],
[ "Presidenti di Giuria", "http://www.dimensionek.it/palestra/presidentigiuria.htm", 2 ],
[ "Fikta Piemonte", null, 1 ],
[ "Scuole Piemonte", "scuole.htm", 2 ],
[ "Organigramma", "organigramma.htm", 2 ],
[ "Modulistica", "", 2 ],
[ "Contatti", "", 1 ],
[ "Link", "", 1 ]
]
];
//[ "News", "#", 1 ],
//[ "Collegamenti", "#", 1 ],
//[ "Messaggi", "#", 1 ]