Hi,

I'm trying to use an existent html page (basic html with a flash object)
as a template for a site.

Basically i want to put the html as background of my application.
To do this i have tried to use  qx.ui.embed.Iframe()

But when i try to add a scrollbar to scroll to the end of the page (part
of the iframe is cutted out) the other object are fixed in their
position.

I make a playground to show the behaviour.

I have tried some layout/container but missing the point.

I make an example in the playground but the link don't work 
(show an empty page)

http://tinyurl.com/6en23os

I report the code here

"""

var button1 = new qx.ui.form.Button("Button");
var doc = this.getRoot();
var iframe = new qx.ui.embed.Iframe("http://qooxdoo.org/about";);
var scrollContainer= new qx.ui.container.Scroll();
doc.add(scrollContainer, {top: 0, left: 0, right: 0, bottom: 0});
var mainvb = new qx.ui.container.Composite(new qx.ui.layout.Basic());
scrollContainer.add(mainvb);
//How to permit at the iframe to get all the space it need?
iframe.set({width:1200,height:1500}); 
//Why when i scroll the page the button is fixed?
mainvb.add(iframe,{top:0,left:0});
mainvb.add(button1, {left: 100, top: 50});

"""

Regards
 Sp




 
-- 
Erreedi Srl
Tel. 06.7900639
Fax 06.79840900
e-mail: [email protected]
------------------------------


------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to