Martin Tilsted wrote:
> I have a website where I need some dynamic html, and after having looked
>
> at some different javascript frameworks I think that qooxdoo looks the
> most promising.
>
> But I can't find out how to add a widget(A layout container) to an
> existing html page. All the existing examples I could find use the
> addToDocument() method, but the problem with that is that it add the
> widget directly to the body element, using position:absolute; which make 
> it difficult to place the element relative to the existing html.
>
> What I need is a way to add the widget, so it become part of the normal
> html flow, causing the html below the widget to move down to make room 
> for the widget. (This is what always happens if you add a block level
> element to the dom, and the element is not position:absolute).
>
> So is there a way to add a widget relative to an existing dom node(Such
> as a div), so I can say that this widget(A layout) should be located
> just after an existing div?
>   

Hi Martin,

with the current 0.7 release the Inline class is what you're looking 
for; see http://qooxdoo.org/documentation/0.7/inline_widget for a how-to.

The upcoming 0.8 version of qooxdoo will offer more tools in this 
respect, under the qx.ui.root name space. Take a preview at the online 
demos, e.g. 
http://demo.qooxdoo.org/devel/demobrowser/index.html#root~Inline.html.

Thomas


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to