code fuer das frame in dem das ausgefahrene menu sichtbar sein soll:
<script language="javascript">
<!--
if (document.layers) {n=1;ie=0}
if (document.all) {n=0;ie=1}
function init() {
if (n) {drop1 = document.pull1; drop2 = document.pull2;}
if (ie) {drop1 = pull1.style; drop2 = pull2.style;}
}
function showpull1() {
if (n) {drop1.visibility = "show";}
if (ie) {drop1.visibility = "visible";}
}
function hideothers1() {
if (n) {drop2.visibility = "hide";}
if (ie) {drop2.visibility = "hidden";}
}
function showpull2() {
if (n) {drop2.visibility = "show";}
if (ie) {drop2.visibility = "visible";}
}
function hideothers2() {
if (n) {drop1.visibility = "hide";}
if (ie) {drop1.visibility = "hidden";}
}
function hideall(){
if (n) {drop1.visibility = "hide";}
if (ie) {drop1.visibility = "hidden";}
if (n) {drop2.visibility = "hide";}
if (ie) {drop2.visibility = "hidden";}
}
//-->
</script>
<style type="text/css">
<!--
#pull1 {FONT-FAMILY: Arial; LEFT: 0px; POSITION: absolute; TOP: 20px; visibility: hidden}
#pull2 {FONT-FAMILY: Arial; LEFT: 0px; POSITION: absolute; TOP: 45px; visibility: hidden}
//-->
</style>
<body onload="init()">
<layer name="pull1">
<div id="pull1">
<a href: ...></a>
</div>
</layer>
<layer name="pull2">
<div id="pull2">
<a href: ...></a>
</div>
</layer>
mouseover befehl im anderen frame:
<a href= ... onmouseover="javascript:top.main.showpull1(); top.main.hideothers1()"> Menu1</a>
<a href= ... onmouseover="javascript:top.main.showpull2(); top.main.hideother2()"> menu2 </a>
so der ist jetzt genauer :)
eva