So, habe mir jetzt mal folgendes zusammengebastelt:
<!--
if (window.location.search != "") {
var link = window.location.search;
var position = link.indexOf("=");
var section = link.substr(position++);
}
//edit the links as you would with regular html but remeber the '/" changes and follow the examples as a guide
document.write('<div id="navi"><br><a href="index.htm"><b>Start</b></a><br>');
document.write('<a href=# onclick=outline('messtechnik') return false><b>Mess- & Applikationstechnik</b></a>');
if (section != "" && section = "messtechnik") {
document.write('<br><div class="navi" id=messtechnik');
} else {
document.write('<br><div class="navi" id=messtechnik style=display:none>');
}
document.write('<a href="messtechnik_aktuelles.htm?section=messtechnik">Aktuelles</a>');
document.write('<a href="messtechnik_Informationen.htm?section=messtechnik">Informationen</a>');
document.write('<a href="messtechnik_Software.htm?section=messtechnik">Software/Downloads</a>');
document.write('<a href="messtechnik_AddOn.htm?section=messtechnik">AddOn</a>');
document.write('<a href="messtechnik_Kontakt.htm?section=messtechnik">Kontakt</a><br>');
document.write('</div>');
document.write('<a href=# onclick=outline('projectB') return false><b>Projekt B</b></a>');
if (section != "" && section = "projectB") {
document.write('<br><div class="navi" id=projectB');
} else {
document.write('<br><div class="navi" id=projectB style=display:none>');
}
document.write('<a href="B_aktuelles.htm">Aktuelles</a>');
document.write('<a href="B_Informationen.htm">Informationen</a>');
document.write('<a href="B_Software.htm">Software/Downloads</a>');
document.write('<a href="B_AddOn.htm">AddOn</a>');
document.write('<a href="B_Kontakt.htm">Kontakt</a><br>');
document.write('</div>');
document.write('<a href=# onclick=outline('projectC') return false><b>Projekt C</b></a>');
if (section != "" && section = "projectC") {
document.write('<br><div class="navi" id=projectC');
} else {
document.write('<br><div class="navi" id=projectC style=display:none>');
}
document.write('<a href="C_aktuelles.htm">Aktuelles</a>');
document.write('<a href="C_Informationen.htm">Informationen</a>');
document.write('<a href="C_Software.htm">Software/Downloads</a>');
document.write('<a href="C_AddOn.htm">AddOn</a>');
document.write('<a href="C_Kontakt.htm">Kontakt</a><br>');
document.write('</div></div>');
//-->
Irgendwo scheint da noch ein Fehler drin zu stecken, aber wo?!?
Vertraue auf eure Hilfe... ;-)
Danke und Grüße
Damian