Author: raju
Date: 2007-08-10 10:59:26 -0700 (Fri, 10 Aug 2007)
New Revision: 6002

Modified:
   labs/lzproject/trunk/lzx/__SOLO_html/LZProject-SWF.html
Log:
Fixed embedding of SWF for Webkit and Opera.


Modified: labs/lzproject/trunk/lzx/__SOLO_html/LZProject-SWF.html
===================================================================
--- labs/lzproject/trunk/lzx/__SOLO_html/LZProject-SWF.html     2007-08-10 
17:15:54 UTC (rev 6001)
+++ labs/lzproject/trunk/lzx/__SOLO_html/LZProject-SWF.html     2007-08-10 
17:59:26 UTC (rev 6002)
@@ -1,58 +1,20 @@
-
 <!DOCTYPE html
   PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd";>
-<html><head>
+<html>
+   <head>
       <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-   <link rel="SHORTCUT ICON" 
href="http://www.laszlosystems.com/favicon.ico";><title>OpenLaszlo 
Application</title><script type="text/javascript">
-          // If loaded bare into a browser, set the browser size to the canvas 
size
-          if (window === top) {
-            (function (width, height) {
-              // Cf. http://www.quirksmode.org/viewport/compatibility.html
-              if (window.innerHeight) {
-                // Sadly, innerHeight/Width is not r/w on some browsers, and 
resizeTo is for outerHeight/Width
-                window.resizeTo(width ? (width + window.outerWidth - 
window.innerWidth) : window.outerWidth,
-                                height ? (height + window.outerHeight - 
window.innerHeight) : window.outerHeight);
-              } else if (document.documentElement && 
document.documentElement.clientHeight) {
-                if (width) {
-                  document.documentElement.clientWidth = width;
-                }
-                if (height) {
-                  document.documentElement.clientHeight = height;
-                }
-              } else {
-                if (width) {
-                  document.body.clientWidth = width;
-                }
-                if (height) {
-                  document.body.clientHeight = height;
-                }
-              }
-            })(null, null);
-          }
-        </script><script type="text/javascript">
-            lzOptions = { ServerRoot: ''};
-        </script><script type="text/javascript" 
src="../lps/includes/embed-compressed.js"></script><style type="text/css">
-               html, body
-               {
-                       /* http://www.quirksmode.org/css/100percheight.html */
-                       height: 100%;
-                       /* prevent scrollbars */
-                       margin: 0;
-                       padding: 0;
-                       border: 0 none;
-                       overflow: hidden;
-               }
-               body {
-                background-color: #e5e5e5;
-            }
-               
-               img { border: 0 none; }
-        </style></head><body><script type="text/javascript">
-          Lz.swfEmbed({url: 'LZProject.lzr=swf7.swf', bgcolor: '#e5e5e5', 
width: '100%', height: '100%', id: 'lzapp', accessible: 'false'});
-            </script><noscript>
-            Please enable JavaScript in order to use this application.
-        </noscript>
-       </body>
+      <link rel="SHORTCUT ICON" 
href="http://www.laszlosystems.com/favicon.ico";>
+      <title>OpenLaszlo 4.0 Blueprint Application - LZProject</title>
+<style type="text/css">
+          html, body { margin: 0; padding: 0; height: 100%; }
+          body { background-color: #eaeaea; }
+        </style></head>
+   <body><object type="application/x-shockwave-flash" 
data="LZProject.lzr=swf7.swf?lzproxied=false" width="100%" height="100%">
+         <param name="movie" value="LZProject.lzr=swf7.swf?lzproxied=false">
+         <param name="quality" value="high">
+         <param name="scale" value="noscale">
+         <param name="salign" value="LT">
+         <param name="menu" value="false"></object></body>
 </html>
 <!--
 * X_LZ_COPYRIGHT_BEGIN ***************************************************
@@ -60,4 +22,3 @@
 * Use is subject to license terms.                                       *
 * X_LZ_COPYRIGHT_END *****************************************************
 -->
-


_______________________________________________
Laszlo-checkins mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins

Reply via email to