Hi alle zusammen!
ich hab ein problem und keine ahnung warum das so ist:
ich hab eine Site, die im Fenster geöffnet werden soll - die seite mit dem "Enter" button funktioniert allerdings nicht. Wenn ich auf den Button klicke kommt die Fehlermeldun "Stack overflow at line: 23"
Ich hab keine Ahnung warum das so ist. hier erstmal der Quelltext:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<script language="javascript">
on=new Image();
on.src="on.jpg";
off=new Image();
off.src="off.jpg";
function bildon() {
window.document.images[0].src = on.src;
}
function bildoff() {
window.document.images[0].src = off.src;
}
function open() {
window.open('frame.htm', 'us', 'toolbar=no, statusbar=no, location=no, scrollbars=no, resizable=no, width=700, height=500')
}
</script>
<title>Yoursight.de</title>
</head>
<body style="margin:0px">
<table border="0" height="80%" width="100%" cellspacing="0" cellspacing="0"><tr><td align=center valign="middle" bgcolor="#ffffff">
<table border="0" cellspacing="0" cellspacing="0"><colgroup><col width="45%"><col width="10%"><col width="45%"></colgroup>
<tr><td style="background-image:url('enter_leiste.bmp')"></td>
<td>
<map name="button">
<area shape="rect" coords="0,22,165,59" href="javascript:open()" alt="Enter" onMouseover="bildon()" onMouseout="bildoff()">
</map>
<img src="off.jpg" alt="" border="0" usemap="#button"></td>
<td></td>
</tr></table>
</td></tr></table>
</BODY></html>
und hier mal die online-Version zum ausprobieren:
http://online-stuff0.tripod.com/funktion.htm
das design is nur testweise so und die schwarze linie links soll so sein *g*
Ich hoffe dass ihr mir helden könnt!!!
Danke im Vorraus, TheAngel