Link von iframe zu iframe
peits
- sonstiges
Hy leute ich habe ein Problem ich möchte einen Link von aus einem Iframe Heraus zu einem anderen iframe machen !
Aber es funktioniert nicht!!!
Die Seite ist etwas kompliezierter deshalb muss man sich im quelltext erst zurechtfinden!!!
Quelltext :
<html><head>
<title></title>
<script>
<!--
var old;
var memold;
if(document.layers)
{
window.captureEvents(Event.MOUSEDOWN);
window.onmousedown=do_out;
} else
{
document.onmousedown=do_out;
}
/*
if(document.layers)
{
window.captureEvents(Event.MOUSEUP);
window.onmouseup=do_out;
} else
{
document.onmouseup=do_out;
}
*/
function show_layer(x)
{
if(document.layers)
document.layers[x].visibility="show";
else
document.all[x].style.visibility="visible";
}
function hide_layer(x)
{
if(document.layers)
document.layers[x].visibility="hide";
else
document.all[x].style.visibility="hidden";
}
function do_menu(x)
{
if(!old)
old=memold;
if(old!=x)
{
show_layer(x);
old=x;
} else
old="";
}
function do_check(x)
{
if(old && old!=x)
{
hide_layer(old);
show_layer(x);
old=x;
}
}
function do_out()
{
if(old)
hide_layer(old);
memold=old;
old="";
}
// -->
</script>
<style>
.menu
{
position: absolute;
top:0;
z-index: 2;
}
.submenu
{
position: absolute;
top: 22;
z-index: 0;
visibility: hide;
visibility: hidden;
}
</style>
</head>
<body background="b1.jpg" bgcolor = #000000 text=#000000 link=#000000 vlink=#000000 alink=#000000>
<a href="uleb.htm" ><i><u><b>test</b></u></i></a>
<div id="m1" class="menu" style="left: 0 ;top:0 ; z-index: 2 ">
<table bgcolor=#000000 cellspacing=0 cellpadding=2 border=0 width=100>
<tr><td><a href="javascript:do_menu('m1x')" onmouseover="do_check('m1x')"><img src="a.gif" alt="" height="40" width="120" border="0"></a>
</table>
<br>
</div>
<div id="m1x" class="submenu" style="left: 125; top:0 ; z-index: 0;">
<table bgcolor=#FFFFFF cellspacing=0 cellpadding=2 border=0 width=100>
<tr><td>
<a><font size="+1">Downloads</font></a><br>
<a href="Web.htm" target="mainframe" >Webseite</a><br><br>
<a href="Downloads.htm" target="mainframe" >Delphi<br>Games</a><br><br>
<a href="Need.htm" target="mainframe" >sourcecodes</a><br><br>
</table>
<br>
</div>
<div id="m2" class="menu" style="left:0; top:40 ;">
<table bgcolor=#000000 cellspacing=0 cellpadding=2 border=0 width=100>
<tr><td><a href=