Author: max
Date: 2007-10-16 14:26:24 -0700 (Tue, 16 Oct 2007)
New Revision: 6877
Modified:
openlaszlo/trunk/lps/includes/source/lzhistory.js
Log:
Change 20071015-maxcarlson-v by [EMAIL PROTECTED] on 2007-10-15 21:12:58 PDT
in /Users/maxcarlson/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: UPDATED: Fix display of small applications in IE7
New Features:
Bugs Fixed: LPP-4884
Technical Reviewer: promanik
QA Reviewer: jcrowley
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details: Reconfigure the styling of iframes so it no longer breaks IE 7.
Tests: Small applications display in IE 7 again in the laszlo explorer,
http://192.168.1.122:8080/wafflecone/examples/contactlist/contactlist.lzx and
contactlist.html no longer show an iframe.
Modified: openlaszlo/trunk/lps/includes/source/lzhistory.js
===================================================================
--- openlaszlo/trunk/lps/includes/source/lzhistory.js 2007-10-16 21:23:39 UTC
(rev 6876)
+++ openlaszlo/trunk/lps/includes/source/lzhistory.js 2007-10-16 21:26:24 UTC
(rev 6877)
@@ -40,13 +40,17 @@
// use an iframe;
var i = document.createElement('iframe');
Lz.__setAttr(i, 'id', 'lzHistory');
- Lz.__setAttr(i, 'border', 0);
+ Lz.__setAttr(i, 'frameborder', 'no');
+ Lz.__setAttr(i, 'scrolling', 'no');
+ Lz.__setAttr(i, 'width', '0');
+ Lz.__setAttr(i, 'height', '0');
document.body.appendChild(i);
+ i = document.getElementById('lzHistory');
+ _this._iframe = i;
+ i.style.display = 'none';
i.style.position = 'absolute';
- i.style.display = 'none';
- i.style.left = '-1000px';
- _this._iframe = document.getElementById('lzHistory');
- var doc = _this._iframe.contentDocument ||
_this._iframe.contentWindow.document;
+ i.style.left = '-999px';
+ var doc = i.contentDocument || i.contentWindow.document;
doc.open();
doc.close();
//alert('currstate ' + currstate);
_______________________________________________
Laszlo-checkins mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins