Simon Grimm: Firefox ignoriert Javascript-Event (häufig, nicht immer)

Beitrag lesen

Aktueller Quelltext:

index.html

  
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">  
<html>  
 <head>  
  <TITLE>Printer Configuration</TITLE>  
 </head>  
         <frameset cols="10,*">  
          <frame src="test.html">  
   <frame src="about:blank" name="nix">  
         </frameset>  
  
</html>  

test.html

  
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">  
<html>  
 <head>  
  <title>IP-Admin</title>  
  <script type="text/javascript">  
   function init ()  
   {  
    parent.nix.document.open();  
    parent.nix.document.writeln("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">");  
    parent.nix.document.writeln("<html><head><title>IP-Admin</title>");  
    parent.nix.document.writeln("<\/head><body>");  
  
    parent.nix.document.writeln("<img id=\"kekse\" alt=\"gehtnixbild\" onmouseover=\"this.src = 'button_on.gif'\" onmouseout=\"this.src = 'button_off.gif'\" src=\"button_off.gif\">");  
  
    parent.nix.document.writeln("<\/body><\/html>");  
    parent.nix.document.close();  
   }  
  </script>  
 </head>  
 <body onload="init()">  
 </body>  
</html>