Menüobergrupen
var title = new Array();
title[0] = new Image();
title[0].txt = "Seite A";
title[1] = new Image();
title[1].txt = "News";
title[2] = new Image();
title[2].txt = "Seite B";
usw.
function titletausch(txtName, inttxt){
parent.frames['navi_down'].location.reload();
top.header.document.getElementById(txtName+"_ID").innerHTML = title[inttxt].txt;
}
<div id="navigation">
<div><a href="#" onClick="dropdown(this);return false">Seite A</a>
<div><a href="xxx.php" target="main" onClick="return titletausch('start', 0);">Teil1</a></div>
<div><a href="xxx.php" target="main" onClick="return titletausch('start', 0);">Teil2</a></div>
<div><a href="xxx.php" target="main" onClick="return titletausch('start', 0);">Teil3</a></div>
usw.
<div><a href="#" onClick="dropdown(this);return false">Seite B</a>
<div><a href="xxx.php" target="main" onClick="return titletausch('start', 5);">Teil1</a></div>
<div><a href="xxx.php" target="main" onClick="return titletausch('start', 5);">Teil2</a></div>
usw.
Diese Frage teilen