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

Reply via email to