|
|
|
[
Permlink
| « Hide
]
Amy Muntz - 13/Oct/07 03:46 PM
Moving to Cranberry.
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 maxcarlson@plastik 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: 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 Laszlo-checkins@openlaszlo.org http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins Author: max
Date: 2007-10-17 15:00:47 -0700 (Wed, 17 Oct 2007) New Revision: 6891 Modified: openlaszlo/branches/wafflecone/lps/includes/source/lzhistory.js Log: Change 20071015-maxcarlson-a by maxcarlson@plastik on 2007-10-15 15:03:05 PDT in /Users/maxcarlson/openlaszlo/wafflecone for http://svn.openlaszlo.org/openlaszlo/branches/wafflecone Summary: UPDATED: Fix display of small applications in IE7 New Features: Bugs Fixed: 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/branches/wafflecone/lps/includes/source/lzhistory.js =================================================================== --- openlaszlo/branches/wafflecone/lps/includes/source/lzhistory.js 2007-10-17 19:50:33 UTC (rev 6890) +++ openlaszlo/branches/wafflecone/lps/includes/source/lzhistory.js 2007-10-17 22:00:47 UTC (rev 6891) @@ -35,13 +35,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.contentWindow.document; + i.style.left = '-999px'; + var doc = i.contentDocument || i.contentWindow.document; doc.open(); doc.close(); if (_this._currentstate != '') doc.location.hash = '#' + _this._currentstate; _______________________________________________ Laszlo-checkins mailing list Laszlo-checkins@openlaszlo.org http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins Small applications now open properly in IE7 on WXP SP 2, Flash 9.47.
Porper behavior also tested in r7137. Small applications open in IE7 when compiled in swf7.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||