For our particular application the separate browser window opening is
necessary/desired.  Its an internal enterprise application so
firewalls/blockers are not usally a problem - this isn't  a new design for
us its just a translation of an existing app to laszlo.   Thank you for the
suggestions though. 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of DL
Sent: Tuesday, July 25, 2006 9:28 AM
To: [email protected]
Subject: Re: [Laszlo-user] Problem with loadJS( ) in IE, Please help

On 25 Jul 2006 at 5:19, Manik Prabhu wrote:

> I am facing problems while using loadJS( ) in IE,  but able to work 
> fine with Firefox. I have a index.html something like this, i have two 
> iframes, each one holds a .lzx file and i have a javascript function

(1) I would avoid launching popup window since browser and firewalls will
more often than not block popups.

(2) Instead of using iframes in HTML wrapper, write your OpenLaszlo swf
content into 
two absolute positioned div containers using SWFObject.js.       
http://blog.deconcept.com/swfobject/

(3) Give each of your openlaszlo apps different ID's .. using ID attribute
in canvas tag .. 
otherwise they are both compiled with default ID="lzapp".

(4) Define a third div container which you can "popup" (make visible or
reposition) by LzBrowser.loadJS().  This will not be blocked by browsers or
firewalls.  Content can be written into this div.

(5) Use a CSS stylesheet to define attributes of the three div containers.
See examples of managing div containers here ..

http://www.aglasshalffull.org/css-resources/stylechangeswithw3cdom.html

DL




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



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

Reply via email to