btotheroots
Grünschnabel
hi leutz bin hier neu und hoffe ihr koennt mir helfen
ich hatte vor gut 6 monaten mal mit einen aufklapparen menu begonnen und schaffe es nciht,
das wenn sich menu a oeffnet sich menu b schliesst
vielleicht kann mir ja jemand helfen
</script>
<p>
<style type="text/css">
body, p a {
font: 12 Sydnie;
}
</style>
<script type="text/javascript">
Normal1 = new Image();
Normal1.src = "home.png";
Highlight1 = new Image();
Highlight1.src = "home1.png";
Normal2 = new Image();
Normal2.src = "programme.png";
Highlight2 = new Image();
Highlight2.src = "programme1.png";
Normal3 = new Image();
Normal3.src = "netzwerk.png";
Highlight3 = new Image();
Highlight3.src = "netzwerk1.png";
Normal4 = new Image();
Normal4.src = "service.gif";
Highlight4 = new Image();
Highlight4.src = "service1.gif";
Normal5 = new Image();
Normal5.src = "ueberuns.gif";
Highlight5 = new Image();
Highlight5.src = "ueberuns1.gif";
Normal6 = new Image();
Normal6.src = "karriere.gif";
Highlight6 = new Image();
Highlight6.src = "karriere1.gif";
Normal7 = new Image();
Normal7.src = "impressum.gif";
Highlight7 = new Image();
Highlight7.src = "impressum1.gif";
function Bildwechsel (Bildnr, Bildobjekt) {
window.document.images[Bildnr].src = Bildobjekt.src;
}
function switchlayer(Layer_Name)
{
var hallo = document.getElementById? 1:0 ;
var NS = document.layers? 1:0 ;
var IE = document.all? 1:0 ;
if (hallo)
{document.getElementById(Layer_Name).style.display=
(document.getElementById(Layer_Name).style.display=='block') ? 'none' : 'block';}
else if (NS)
{document.layers[Layer_Name].display=(document.layers[Layer_Name].display==
'block') ? 'none' : 'block';}
else if (IE)
{document.all[Layer_Name].style.display=(document.all[Layer_Name].style.display==
'block') ? 'none' : 'block';}
}
</script>
</style>
</head>
<body>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="170" id="AutoNumber1">
<tr>
<td width="160" valign="top">
<a href="video.htm" target="hf"
onmouseover="Bildwechsel(0, Highlight1)"
onmouseout="Bildwechsel(0, Normal1)"><img src="home.png" alt="home" border="0"></a>
<div id="home" type="left" style="display:none;">
</div>
<br>
<a
onmouseover="Bildwechsel(1, Highlight2)"
onmouseout="Bildwechsel(1, Normal2)"><img src="programme.png" alt="programme" border="0"
onclick="javascript:switchlayer('probau'); "window open"
return false;" ></a>
<div id="probau" type="left" style="display:none;">
<a href="" target="hf" onmouseover="style.color='#0070C0'" onmouseout="style.color='#6F6F6F'" ><li>Ad Aware</li><alt="Ad Aware" border="0"
</a>
<a href="" target="hf" onmouseover="style.color='#0070C0'" onmouseout="style.color='#6F6F6F'" ><li>Alcohol 120%</li><alt="Alcohol 120%" border="0"
</a>
<a href=""target="hf"onmouseseover="style.color='#0070C0'" onmouseout="style.color='#6F6F6F'" ><li>Antivir</li><alt="Antivir" border="0"
</a>
<a href="" target="hf" onmouseover="style.color='#0070C0'" onmouseout="style.color='#6F6F6F'" ><li>Esp Config</li><alt="Esp Config" border="0"
</a>
<a href="" target="hf" onmouseover="style.color='#0070C0'" onmouseout="style.color='#6F6F6F'"><li>Google Earth</li><alt="Google Earth" border="0"
</a>
<a href=""target="hf" onmouseover="style.color='#0070C0'" onmouseout="style.color='#6F6F6F'"><li>Irfan View</li><alt="Irfan View" border="0"
</a>
<a href="" target="hf" onmouseover="style.color='#0070C0'" onmouseout="style.color='#6F6F6F'"><li>Microsoft Word</li><alt="Microsoft Word" border="0"
</a>
<a href="" target="hf" onmouseover="style.color='#0070C0'" onmouseout="style.color='#6F6F6F'"><li>nLite</li><alt="nLite" border="0"
</a>
<a href=""target="hf" onmouseover="style.color='#0070C0'" onmouseout="style.color='#6F6F6F'" ><li>Phase 5</li><alt="Phase 5" border="0"
</a>
<a href="" target="hf" onmouseover="style.color='#0070C0'" onmouseout="style.color='#6F6F6F'"><li>S2k 7.1 Plus</li><alt="S2k 7.1 Plus" border="0"
</a>
<a href=""target="hf" onmouseover="style.color='#0070C0'" onmouseout="style.color='#6F6F6F'"><li>Steam</li><alt="Steam" border="0"
</a>
<a href=""target="hf"onmouseover="style.color='#0070C0'" onmouseout="style.color='#6F6F6F'" ><li>Trillian</li><alt="Trillian" border="0"
</a>
<a href=""target="hf" onmouseover="style.color='#0070C0'" onmouseout="style.color='#6F6F6F'"><li>XPclean</li><alt="XPclean" border="0"
</a>
</div>
<br>
<a href="" target="hf"
onmouseover="Bildwechsel(2, Highlight3)"
onmouseout="Bildwechsel(2, Normal3)"><img src="netzwerk.png" alt="netzwerk" border="0" ></a>
<div id="info" type="left" style="display:none;">
</div>
<br>
<a href="" target="hf"
onmouseover="Bildwechsel(3, Highlight4)"
onmouseout="Bildwechsel(3, Normal4)"><img src="service.gif" alt="service" border="0"
onclick="javascript:switchlayer('service'); "window.open";
return false;" ></a>
<div id="service" type="left" style="display:none;">
<a href="" target="hf" onmouseover="style.color='#800000'" onmouseout="style.color='#00007F'"><li>schulung</li><alt="schulung" border="0"
</a> <br>
<a href="" target="hf" onmouseover="style.color='#800000'" onmouseout="style.color='#00007F'"><li>betreuung</li><alt="betreuung" border="0"
</a> <br>
<a herf="" target="hf" onmouseover="style.color='#800000'" onmouseout="style.color='#00007F'"><li>support</li><alt="support" border="0"
</a>
</div>
hier mal der auzug aus meinen menu.
wie man sehen kann sollen sich menu "probau" und menu "service" aufklappen,
was sie auch machen. jedoch ist meine absicht das sich menu "probau" beim anklicken
von menu "service" wieder schliessen soll. und ab da weis ich net weiter.
ich hoffe ihr habt ne idee
thx for your reliefs
ich hatte vor gut 6 monaten mal mit einen aufklapparen menu begonnen und schaffe es nciht,
das wenn sich menu a oeffnet sich menu b schliesst
vielleicht kann mir ja jemand helfen
</script>
<p>
<style type="text/css">
body, p a {
font: 12 Sydnie;
}
</style>
<script type="text/javascript">
Normal1 = new Image();
Normal1.src = "home.png";
Highlight1 = new Image();
Highlight1.src = "home1.png";
Normal2 = new Image();
Normal2.src = "programme.png";
Highlight2 = new Image();
Highlight2.src = "programme1.png";
Normal3 = new Image();
Normal3.src = "netzwerk.png";
Highlight3 = new Image();
Highlight3.src = "netzwerk1.png";
Normal4 = new Image();
Normal4.src = "service.gif";
Highlight4 = new Image();
Highlight4.src = "service1.gif";
Normal5 = new Image();
Normal5.src = "ueberuns.gif";
Highlight5 = new Image();
Highlight5.src = "ueberuns1.gif";
Normal6 = new Image();
Normal6.src = "karriere.gif";
Highlight6 = new Image();
Highlight6.src = "karriere1.gif";
Normal7 = new Image();
Normal7.src = "impressum.gif";
Highlight7 = new Image();
Highlight7.src = "impressum1.gif";
function Bildwechsel (Bildnr, Bildobjekt) {
window.document.images[Bildnr].src = Bildobjekt.src;
}
function switchlayer(Layer_Name)
{
var hallo = document.getElementById? 1:0 ;
var NS = document.layers? 1:0 ;
var IE = document.all? 1:0 ;
if (hallo)
{document.getElementById(Layer_Name).style.display=
(document.getElementById(Layer_Name).style.display=='block') ? 'none' : 'block';}
else if (NS)
{document.layers[Layer_Name].display=(document.layers[Layer_Name].display==
'block') ? 'none' : 'block';}
else if (IE)
{document.all[Layer_Name].style.display=(document.all[Layer_Name].style.display==
'block') ? 'none' : 'block';}
}
</script>
</style>
</head>
<body>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="170" id="AutoNumber1">
<tr>
<td width="160" valign="top">
<a href="video.htm" target="hf"
onmouseover="Bildwechsel(0, Highlight1)"
onmouseout="Bildwechsel(0, Normal1)"><img src="home.png" alt="home" border="0"></a>
<div id="home" type="left" style="display:none;">
</div>
<br>
<a
onmouseover="Bildwechsel(1, Highlight2)"
onmouseout="Bildwechsel(1, Normal2)"><img src="programme.png" alt="programme" border="0"
onclick="javascript:switchlayer('probau'); "window open"
return false;" ></a>
<div id="probau" type="left" style="display:none;">
<a href="" target="hf" onmouseover="style.color='#0070C0'" onmouseout="style.color='#6F6F6F'" ><li>Ad Aware</li><alt="Ad Aware" border="0"
</a>
<a href="" target="hf" onmouseover="style.color='#0070C0'" onmouseout="style.color='#6F6F6F'" ><li>Alcohol 120%</li><alt="Alcohol 120%" border="0"
</a>
<a href=""target="hf"onmouseseover="style.color='#0070C0'" onmouseout="style.color='#6F6F6F'" ><li>Antivir</li><alt="Antivir" border="0"
</a>
<a href="" target="hf" onmouseover="style.color='#0070C0'" onmouseout="style.color='#6F6F6F'" ><li>Esp Config</li><alt="Esp Config" border="0"
</a>
<a href="" target="hf" onmouseover="style.color='#0070C0'" onmouseout="style.color='#6F6F6F'"><li>Google Earth</li><alt="Google Earth" border="0"
</a>
<a href=""target="hf" onmouseover="style.color='#0070C0'" onmouseout="style.color='#6F6F6F'"><li>Irfan View</li><alt="Irfan View" border="0"
</a>
<a href="" target="hf" onmouseover="style.color='#0070C0'" onmouseout="style.color='#6F6F6F'"><li>Microsoft Word</li><alt="Microsoft Word" border="0"
</a>
<a href="" target="hf" onmouseover="style.color='#0070C0'" onmouseout="style.color='#6F6F6F'"><li>nLite</li><alt="nLite" border="0"
</a>
<a href=""target="hf" onmouseover="style.color='#0070C0'" onmouseout="style.color='#6F6F6F'" ><li>Phase 5</li><alt="Phase 5" border="0"
</a>
<a href="" target="hf" onmouseover="style.color='#0070C0'" onmouseout="style.color='#6F6F6F'"><li>S2k 7.1 Plus</li><alt="S2k 7.1 Plus" border="0"
</a>
<a href=""target="hf" onmouseover="style.color='#0070C0'" onmouseout="style.color='#6F6F6F'"><li>Steam</li><alt="Steam" border="0"
</a>
<a href=""target="hf"onmouseover="style.color='#0070C0'" onmouseout="style.color='#6F6F6F'" ><li>Trillian</li><alt="Trillian" border="0"
</a>
<a href=""target="hf" onmouseover="style.color='#0070C0'" onmouseout="style.color='#6F6F6F'"><li>XPclean</li><alt="XPclean" border="0"
</a>
</div>
<br>
<a href="" target="hf"
onmouseover="Bildwechsel(2, Highlight3)"
onmouseout="Bildwechsel(2, Normal3)"><img src="netzwerk.png" alt="netzwerk" border="0" ></a>
<div id="info" type="left" style="display:none;">
</div>
<br>
<a href="" target="hf"
onmouseover="Bildwechsel(3, Highlight4)"
onmouseout="Bildwechsel(3, Normal4)"><img src="service.gif" alt="service" border="0"
onclick="javascript:switchlayer('service'); "window.open";
return false;" ></a>
<div id="service" type="left" style="display:none;">
<a href="" target="hf" onmouseover="style.color='#800000'" onmouseout="style.color='#00007F'"><li>schulung</li><alt="schulung" border="0"
</a> <br>
<a href="" target="hf" onmouseover="style.color='#800000'" onmouseout="style.color='#00007F'"><li>betreuung</li><alt="betreuung" border="0"
</a> <br>
<a herf="" target="hf" onmouseover="style.color='#800000'" onmouseout="style.color='#00007F'"><li>support</li><alt="support" border="0"
</a>
</div>
hier mal der auzug aus meinen menu.
wie man sehen kann sollen sich menu "probau" und menu "service" aufklappen,
was sie auch machen. jedoch ist meine absicht das sich menu "probau" beim anklicken
von menu "service" wieder schliessen soll. und ab da weis ich net weiter.
ich hoffe ihr habt ne idee
thx for your reliefs