I should have said: Bugs Fixed: LPP-2110 Remove links to labs.openlaszlo.org in the LZPIX demo LPP-2112 Flash and DHTML version will not launch from link in demos/ et on WinXP LPP-2198 Update wrapper page/
Does svn let you edit log messages? On 2006-06-18, at 12:39 EDT, [EMAIL PROTECTED] wrote: > Author: ptw > Date: 2006-06-18 12:39:12 -0400 (Sun, 18 Jun 2006) > New Revision: 1051 > > Modified: > openlaszlo/branches/legals/WEB-INF/lps/templates/app-console.xslt > openlaszlo/branches/legals/demos/et/app-dhtml.html > openlaszlo/branches/legals/demos/et/app-source.html > openlaszlo/branches/legals/demos/et/index.html > Log: > Change change.EV8b1l4ws.txt by [EMAIL PROTECTED] /Users/ptw/ > pending-changes/ on 2006-06-18 12:12:30 EDT > > Summary: Use standards-compliant wrappers for LZPIX demo > > Technical Reviewer: max (pending) > QA Reviewer: mkratt (pending) > Doc Reviewer: n/a (pending) > > Details: > Convert all the LZPIX html pages to valid HTML 4.01 Transitional. > Simplify the mechanism for hide/showing the DHTML version. > > Tests: > > w3c HTML and CSS validators. Mamye: you should be aware of > these: http://validator.w3.org/ and > http://jigsaw.w3.org/css-validator/, also the Firefox Web > Developer add-on https://addons.mozilla.org/firefox/60/, which > makes it easy to run these tools on pages that are hosted locally > on your machine. We really should strive to have our HTML > standards-compliant. > > Modified: openlaszlo/branches/legals/WEB-INF/lps/templates/app- > console.xslt > =================================================================== > --- openlaszlo/branches/legals/WEB-INF/lps/templates/app- > console.xslt 2006-06-18 13:10:02 UTC (rev 1050) > +++ openlaszlo/branches/legals/WEB-INF/lps/templates/app- > console.xslt 2006-06-18 16:39:12 UTC (rev 1051) > @@ -62,9 +62,7 @@ > --> > <xsl:param name="containerheight"> > <xsl:choose> > - <xsl:when test="/*/info/@debug = 'true' and /canvas/@runtime = > 'dhtml'"> > - auto > - </xsl:when> > + <xsl:when test="/*/info/@debug = 'true' and /canvas/@runtime = > 'dhtml'">auto</xsl:when> > <xsl:otherwise> > <xsl:value-of select="$canvasheight"/> > </xsl:otherwise> > > Modified: openlaszlo/branches/legals/demos/et/app-dhtml.html > =================================================================== > --- openlaszlo/branches/legals/demos/et/app-dhtml.html 2006-06-18 > 13:10:02 UTC (rev 1050) > +++ openlaszlo/branches/legals/demos/et/app-dhtml.html 2006-06-18 > 16:39:12 UTC (rev 1051) > @@ -1,10 +1,42 @@ > +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" > + "http://www.w3.org/TR/html4/loose.dtd"> > <html> > - <head> > - <meta http-equiv="Content-Type" content="text/html; > charset=utf-8"> > - <link rel="SHORTCUT ICON" href="http://www.laszlosystems.com/ > favicon.ico"> > - <link rel="stylesheet" href="/lps-legals/lps/includes/ > console.css" type="text/css"> > - <title>LZPIX</title> > - <script language="JavaScript1.1" src="/lps-legals/lps/ > includes/vbembed.js" type="text/javascript"></script> > +<head> > + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> > + <link rel="SHORTCUT ICON" href="http://www.laszlosystems.com/ > favicon.ico"> > + <title>LZPIX</title> <style type='text/css'> > + /* http://www.quirksmode.org/css/100percheight.html */ > + html, body { height: 100%; } > + html, body, iframe > + { > + margin: 0; > + padding: 0; > + border: 0 none; > + overflow: hidden; > + } > + > + body > + { > + height: 600px; > + width: 800px; > + } > + > + img { border: 0 none; } > + > + #pagecontainer > + { > + position: absolute; > + left: 50%; > + width: 420px; > + margin-left: -210px; > + margin-top: 20px; > + background-color: white; > + color: black; > + font-family: "Trebuchet MS", "Verdana", "Helvetica", serif; > + font-size: 16px; > + } > + > +</style> > <script type="text/javascript"> > var isNetscape = navigator.userAgent.indexOf('Netscape') ! > = -1; // currently only used for IE spoofing NS8 > var isSafari = navigator.appVersion.indexOf('Safari') != -1; > @@ -19,7 +51,7 @@ > var re = new RegExp("Firefox/(\\d\\.\\d)"); > var marray = re.exec(navigator.userAgent); > FirefoxVersion = new Number(marray[1]); > - } > + } > > function getQueryVariable(variable, defval) { > var query = window.location.search.substring(1); > @@ -37,34 +69,46 @@ > var isSupportedBrowser = isForced || (isFirefox && > FirefoxVersion >= 1.5); > > function writeApp () { > - document.open("text/html", "replace"); // use replace > so we don't add to history > var noconnectval = getQueryVariable("noconnect", > "false"); > var noconnect = "&noconnect=" + noconnectval; > - var lztval = getQueryVariable("lzt", "dhtml-demo"); > + var lztval = getQueryVariable("lzt", "dhtml"); > var lzt = "&lzt=" + lztval; > - document.write("<html><head><title>LZPIX</title><style > type='text/css'>html, body { margin: 0; padding: 0; height: 100%; } > body { background-color: #cfcfcf; } img {border: 0}</style></head>"); > - document.write("<body style='margin: 0'><div > style='background-color: #cfcfcf'>"); > - document.write("<iframe src='app.lzx?lzr=dhtml" + lzt > + noconnect + "' width='800' height='600' scrolling='no' > frameborder='0' vspace='0' hspace='0' marginwidth='0' > marginheight='0'></iframe>"); > - document.write("</div></body></html>"); > - document.close(); > + document.getElementById('pagecontainer').style.display > = 'none'; > + document.getElementById('appcontainer').innerHTML = > + "<iframe src='app.lzx?lzr=dhtml" + lzt + noconnect + > "' style='width: 800px; height: 600px' />" > } > > - </script> > - </head> > - <body style="margin: 0"> > - <div style="background-color: #cfcfcf"> > - <script> > + </script> > +</head> > +<body> > +<div id="appcontainer"></div> > +<div id="pagecontainer" style="display: none"> > + <div id="header"> > + <a href="http://www.openlaszlo.org/"><img src="http:// > openlaszlo.org/themes/manji/images/ol_logo_small.gif" alt="" ></a> > + </div> > + <div id="content"> > + <p> > + Hi. Our DHTML runtime is only a few months old, so > it’s a little unsure of itself on most browsers besides > Firefox 1.5. Be kind to the little tot, it’s growing up > fast. > + </p> > + <p> > + But please, give it a try anyway! > + </p> > + <p> > + <a href="javascript:writeApp();">Launch LZPIX/DHTML</a> > + </p> > + </div> > +</div> > +<script type="text/javascript"> > if (isSupportedBrowser) { > writeApp(); > } else { > - document.write('<html> <head> <title>LZPIX</title> > <style> body { bgcolor: white; fgcolor: black; font-family: > "Trebuchet MS", Verdana, Helvetica, serif; font-size: 16px; } img > { border: 0px; } #pagecontainer { position: absolute; left: 50%; > width: 420px; margin-left: -210px; margin-top: 20px; } </style> </ > head> <body> <div id="pagecontainer"> <div id="header"> <a > href="http://www.openlaszlo.org/"><img src="http://openlaszlo.org/ > themes/manji/images/ol_logo_small.gif" alt=""/></a> </div> <div > id="content"> <p> Hi. Our DHTML runtime is only a few weeks old, so > it's a little unsure of itself on most browsers besides > Firefox 1.5. Be kind to the little tot, he's growing up > fast. </p> <p> But please, give it a try anyway! </p> <p> <a > href="javascript:writeApp();">Launch LZPIX/DHTML</a> </p> </div> </ > div> </body> </html> '); > + document.getElementById('pagecontainer').style.display > = 'block'; > } > - </script> > - <noscript> > - Please enable JavaScript in order to use this > application. > - </noscript> > - </div> > - </body> > + </script> > +<noscript> > + Please enable JavaScript in order to use this application. > +</noscript> > +</body> > </html> > <!-- > * X_LZ_COPYRIGHT_BEGIN > **************************************************** > > Modified: openlaszlo/branches/legals/demos/et/app-source.html > =================================================================== > --- openlaszlo/branches/legals/demos/et/app-source.html 2006-06-18 > 13:10:02 UTC (rev 1050) > +++ openlaszlo/branches/legals/demos/et/app-source.html 2006-06-18 > 16:39:12 UTC (rev 1051) > @@ -6,17 +6,30 @@ > <title>LZPIX Source</title> > > <style type="text/css"> > - html, body { margin: 0; padding: 0; height: 100%; } > + /* http://www.quirksmode.org/css/100percheight.html */ > + html, body { height: 100%; } > + > + html, body, iframe > + { > + margin: 0; > + padding: 0; > + border: 0 none; > + overflow: hidden; > + } > + > + iframe > + { > + width: 100%; > + height: 100%; > + overflow: scroll; > + } > </style> > - > -<script language="JavaScript1.1" src="/lps-et/lps/includes/ > vbembed.js" type="text/javascript"> > -</script> > - > </head> > > <body> > - <iframe width="100%" height="100%" src="/lps-et/lps/utils/ > viewer/viewer.jsp?file=/demos/et/app.lzx&lzt=source" > scrolling='yes' frameborder='0' vspace='0' hspace='0' > marginwidth='0' marginheight='0'> > + <iframe src="../../lps/utils/viewer/viewer.jsp?file=demos/et/ > app.lzx&lzt=source"> > </iframe> > +</body> > </html> > <!-- > * X_LZ_COPYRIGHT_BEGIN > **************************************************** > > Modified: openlaszlo/branches/legals/demos/et/index.html > =================================================================== > --- openlaszlo/branches/legals/demos/et/index.html 2006-06-18 > 13:10:02 UTC (rev 1050) > +++ openlaszlo/branches/legals/demos/et/index.html 2006-06-18 > 16:39:12 UTC (rev 1051) > @@ -1,7 +1,10 @@ > +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" > + "http://www.w3.org/TR/html4/loose.dtd"> > <html> > <head> > +<meta http-equiv="content-type" content="text/html; charset=utf-8"> > <title>OpenLaszlo LZpiX Demo</title> > -<script> > +<script type="text/javascript"> > function openApp(app) { > window.open(app, "_blank", "width=800,height=600"); > } > @@ -13,10 +16,10 @@ > <body> > > <h1>LZPIX</h1> > -<p><img src="assets/branding/lil_cam.png" alt="LzPix" /></p> > +<p><img src="assets/branding/lil_cam.png" alt="LzPix"></p> > Launch the <a href="javascript:openApp('app-flash.html')">Flash</ > a> version of the app<br> > Launch the <a href="javascript:openApp('app-dhtml.html')">DHTML</ > a> version of the app<br> > -View <a href="app-source.html">source code<a/><br> > +View <a href="app-source.html">source code</a><br> > <br> > Canned data: > <a href="javascript:openApp('app-flash.html? > noconnect=true')">Flash</a>, > > _______________________________________________ > Laszlo-checkins mailing list > [EMAIL PROTECTED] > http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins _______________________________________________ Laszlo-dev mailing list [email protected] http://www.openlaszlo.org/mailman/listinfo/laszlo-dev
