djbusychild is right, this is also the quickest and cleanest way to do what you want but it probably won't give the look you want.
Another option is to split the menu in two and have part appear in both frames. The code for this however would be very messy unless you know the exact appearance and location of the menu. It would also only look right if the frameborder is set to 0.
Can you make the intranet upgrade to IE5.5? If so, this version has a new function called createPopup() which has support for going over frames, (and also iFrames which used to always appear on the top most z-index). IE5.5 is still beta and microsoft haven't confirmed how this function works, but at the minute this is how it would be done:
<script language="JScript">
function showMenu(height,width,left
var oPopup = window.createPopup();
var oPopBody = oPopup.document.body;
oPopBody.innerHTML = contentname.outerHTML;
oPopup.show(height, width, left, top, document.body);
}
</script>
Calling showMenu(100,100,120,20,my
I would wait and see what becomes of this function when IE5.5 is released to the general pubic and then use it. If you need to do this now though, use djbusychild's solution as it's easiest.
Dog42
Main Topics
Browse All Topics





by: djbusychildPosted on 2000-05-27 at 21:06:39ID: 2854862
well, say you have this:
.style.vis ibility="v isible"; id].visibi lity="show "; wMenu(top. bottom,"me nu1");>men u 1</a>
ackground- color:blac k;visibili ty:hidden; ">
-----------
<html>
<frameset rows=100,*>
<frame name=top src=test4.html>
<framee name=bottom src=test5.html>
</frame>
</html>
--------------
--- test4.html ---
<html>
<head>
<script>
function showMenu(framename,id){
if (document.all){
framename.document.all[id]
}
else{
framename.document.layers[
}
}
</script>
</head>
<body>
<a href=# onmouseover=javascript:sho
</body>
</html>
--- test5.html ---
<html>
<body>
<div id="menu1" style="position:absolute;b
menu itme1<br>
menu itme2<br>
menu itme3<br>
</div>
</body>
</html>
-----
basically you have your menu on the other side of the frame and you control it from the top frame.
so you get the idea... the above is not a great script, but just shows what you could do to manipulate layers across frames
slim