AW: Java Script und Frames Probleme
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Reitstall Winkler V2.0</title>
<style type="text/css">
<!--
body {
background-color: #FFFFFF;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
background-image: url(Bilder/Aufbau/Hintergrund1.jpg);
background-repeat: repeat-x;
}
-->
</style>
<script language="JavaScript">
<!--
function Home()
{
parent.MenueFrame.location = "Menue.html";
parent.TextFrame.location = "Main.html";
}
function Stall()
{
parent.MenueFrame.location = "Seiten/Menue/Stall.html";
parent.TextFrame.location = "Seiten/Stall.html";
}
function Verein()
{
parent.MenueFrame.location = "Seiten/Menue/Verein.html";
parent.TextFrame.location = "Seiten/Verein.html";
}
function Bilder()
{
parent.MenueFrame.location = "Seiten/Menue/Bilder.html";
parent.TextFrame.location = "Seiten/Bilder.html";
}
function Gaestebuch()
{
parent.MenueFrame.location = "Seiten/Menue/Gaestebuch.html";
parent.TextFrame.location = "Seiten/Gaestebuch.html";
}
function Kontakt()
{
parent.MenueFrame.location = "Seiten/Menue/Kontakt.html";
parent.TextFrame.location = "Seiten/Kontakt.html";
}
-->
</script>
<script type="text/javascript">
<!--
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers.document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a.indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a;}}
}
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a)&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</head>
<body onload="MM_preloadImages('Bilder/Aufbau/Homepage_05_gedrueckt.jpg','Bilder/Aufbau/Homepage_06_gedrueckt.jpg','Bilder/Aufbau/Homepage_07_gedrueckt.jpg','Bilder/Aufbau/Homepage_08_gedrueckt.jpg','Bilder/Aufbau/Homepage_03_gedrueckt.jpg','Bilder/Aufbau/Homepage_04_gedrueckt.jpg')">
<!-- ImageReady Slices (Homepage.psd) -->
<table id="Tabelle_01" width="1020" height="184" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="9">
<img src="Bilder/Aufbau/Homepage_01.jpg" width="1020" height="116" alt=""></td>
</tr>
<tr>
<td colspan="2">
<img src="Bilder/Aufbau/Homepage_02.jpg" width="263" height="68" alt=""></td>
<td>
<a href="javascript:Home()" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image19','','Bilder/Aufbau/Homepage_03_gedrueckt.jpg',1)"><img src="Bilder/Aufbau/Homepage_03.jpg" name="Image19" width="81" height="68" border="0" outline-style: none; id="Image19" /></a></td>
<td>
<a href="javascript:Stall()" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image20','','Bilder/Aufbau/Homepage_04_gedrueckt.jpg',1)"><img src="Bilder/Aufbau/Homepage_04.jpg" name="Image20" width="104" height="68" border="0" id="Image20" /></a></td>
<td>
<a href="javascript:Verein()" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image21','','Bilder/Aufbau/Homepage_05_gedrueckt.jpg',1)"><img src="Bilder/Aufbau/Homepage_05.jpg" name="Image21" width="122" height="68" border="0" id="Image21" /></a></td>
<td>
<a href="javascript:Bilder()" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image22','','Bilder/Aufbau/Homepage_06_gedrueckt.jpg',1)"><img src="Bilder/Aufbau/Homepage_06.jpg" name="Image22" width="89" height="68" border="0" id="Image22" /></a></td>
<td>
<a href="javascript:Gaestebuch()" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image23','','Bilder/Aufbau/Homepage_07_gedrueckt.jpg',1)"><img src="Bilder/Aufbau/Homepage_07.jpg" name="Image23" width="116" height="68" border="0" id="Image23" /></a></td>
<td>
<a href="javascript:Kontakt()" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image24','','Bilder/Aufbau/Homepage_08_gedrueckt.jpg',1)"><img src="Bilder/Aufbau/Homepage_08.jpg" name="Image24" width="103" height="68" border="0" id="Image24" /></a></td>
<td>
<img src="Bilder/Aufbau/Homepage_09.jpg" width="142" height="68" alt=""></td>
</tr>
<tr>
<td>
<img src="Bilder/Abstandhalter.gif" width="250" height="1" alt=""></td>
<td>
<img src="Bilder/Abstandhalter.gif" width="13" height="1" alt=""></td>
<td>
<img src="Bilder/Abstandhalter.gif" width="81" height="1" alt=""></td>
<td>
<img src="Bilder/Abstandhalter.gif" width="104" height="1" alt=""></td>
<td>
<img src="Bilder/Abstandhalter.gif" width="122" height="1" alt=""></td>
<td>
<img src="Bilder/Abstandhalter.gif" width="89" height="1" alt=""></td>
<td>
<img src="Bilder/Abstandhalter.gif" width="116" height="1" alt=""></td>
<td>
<img src="Bilder/Abstandhalter.gif" width="103" height="1" alt=""></td>
<td>
<img src="Bilder/Abstandhalter.gif" width="142" height="1" alt=""></td>
</tr>
</table>
</body>
</html>
Das ist mein Quellcode ,