Er det i tabels eller med layers det skal gøres: for jeg arbejder i forvejen med layers ... kan der så ikke gå ged idet ?
Det kan være at det er lettere at forstå hvis du ser min kode :
<html>
<head>
<title>Widex Intershop Support</title>
<STYLE TYPE="text/css">
<!--
#parent1Div {position:absolute; left:0; top:0; width:1260; height:879; clip:rect(0,1260,879,0); background-color:#9D9D9F; layer-background-color:#E2E2E2;overflow-y:hidden}
#child1Div {STYLE="z-index:1"; position:absolute; left:50; top:50; width:1260; height:779; clip:rect(0,1260,779,0); background-color:#9D9D9F; layer-background-color:#E2E2E2;overflow-y:hidden}
#child2Div {STYLE="z-index:2"; position:absolute; left:0; top:864; width:1260; height:13; clip:rect(0,1260,864,0); background-color:#E2E2E2;overflow-y:hidden}
#child3Div {STYLE="z-index:3"; position:absolute; left:0; top:777; width:1260; height:100; clip:rect(0,1260,777,0); background-color:#E2E2E2;overflow-y:hidden}
#child4Div {STYLE="z-index:4"; position:absolute; left:0; top:0; width:1260; height:779; clip:rect(0,1260,779,0);overflow-y:hidden}
#menu {position:absolute;
left:245px;
top:230px;
width:370px;
height:30px;
visibility:hidden;
border:3px solid #ff0000;
z-index:0;
}
-->
</STYLE>
<script type="text/javascript" language="JavaScript">
/********************************************************************************
Copyright (C) 1999 Thomas Brattli
This script is made by and copyrighted to Thomas Brattli at
www.bratta.comVisit for more great scripts. This may be used freely as long as this msg is intact!
I will also appriciate any links you could give me.
********************************************************************************/
//Default browsercheck, added to all scripts!
function checkBrowser(){
this.ver=navigator.appVersion
this.dom=document.getElementById?1:0
this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0;
this.ie4=(document.all && !this.dom)?1:0;
this.ns5=(this.dom && parseInt(this.ver) >= 5) ?1:0;
this.ns4=(document.layers && !this.dom)?1:0;
this.bw=(this.ie5 || this.ie4 || this.ns4 || this.ns5)
return this
}
bw=new checkBrowser()
//With nested layers for netscape, this function hides the layer if it's visible and visa versa
function showHide(div,nest){
obj=bw.dom?document.getElementById(div).style:bw.ie4?document.all[div].style:bw.ns4?nest?document[nest].document[div]:document[div]:0;
if(obj.visibility=='visible' || obj.visibility=='show') obj.visibility='hidden'
else obj.visibility='visible'
}
//Shows the div
function show(div,nest){
obj=bw.dom?document.getElementById(div).style:bw.ie4?document.all[div].style:bw.ns4?nest?document[nest].document[div]:document[div]:0;
obj.visibility='visible'
}
//Hides the div
function hide(div,nest){
obj=bw.dom?document.getElementById(div).style:bw.ie4?document.all[div].style:bw.ns4?nest?document[nest].document[div]:document[div]:0;
obj.visibility='hidden'
}
</script>
</HEAD>
<body>
<DIV ID="parent1Div">
<DIV ID="child1Div" z-index:1>
<iframe src="
http://www.google.com" id="content"
name="content"
width="800"
height="600"
scrolling="auto"
frameborder="1">
</iframe>
</div>
<!-- ----------------------------------------------------------------------- DIV 2 --------------------------------------------------------- -->
<DIV ID="child2Div" z-index:2>
<a href="#" onclick="show('child3Div')">
<img src="bund1.gif" border="0">
</A>
</DIV>
<!-- ----------------------------------------------------------------------- DIV 3 --------------------------------------------------------- -->
<DIV ID="child3Div" z-index:3>
<a href="#" onclick="hide('child3Div')">
<img src="bund1.gif" border="0">
</A>
<span onmouseover="document.getElementById('menu').style.visibility='visible'">Skriv dit søgeord i url feltet</span>
</DIV>
<!-- ----------------------------------------------------------------------- DIV 4 --------------------------------------------------------- -->
<DIV ID="child4Div" z-index:4>
<br>
<br>
<br>
TEST LAYER
</DIV>
</DIV>
<!-- ----------------------------------------------------------------------- menu --------------------------------------------------------- -->
<div id="menu" onmouseenter="document.getElementById('menu').style.visibility='hidden'">
<B>URL FELT</B>
</div>
</BODY>
</HTML>