Revert to using onresize= for now; it doesn't validate, but IEs onfoo
authorSteinar H. Gunderson <sesse@debian.org>
Tue, 1 Aug 2006 11:35:57 +0000 (13:35 +0200)
committerSteinar H. Gunderson <sesse@debian.org>
Tue, 1 Aug 2006 11:35:57 +0000 (13:35 +0200)
implementation is severily broken.

templates/default/fullscreen-footer

index 230a0a63724948522bc30ffab92123310c488e9b..12d6c18f5a65c4ae1b6bc035277d631536465685 100644 (file)
@@ -10,7 +10,7 @@ var global_select = %SEL%;
     </script>
     <script type="text/JavaScript" src="/pr0n-fullscreen.js"></script>
   </head>
-  <body onload="init_ajax(); relayout(); window.onresize = relayout;" onkeydown="key_down(event.which);" onkeyup="key_up(event.which);">
+  <body onresize="relayout();" onload="init_ajax(); relayout();" onkeydown="key_down(event.which);" onkeyup="key_up(event.which);">
     <div>
       <div class="container" id="main"><div id="iehack"></div></div>
       <img id="previous" src="/previous.png" alt="&lt;-" onmousedown="if (can_go_previous()) set_opacity('previous', 1.0)" onmouseup="if (can_go_previous()) { set_opacity('previous', 0.7); go_previous(); }" onmouseout="if (can_go_previous()) { set_opacity('previous', 0.7); }" />