Hi Philipe,

you have to insert a div container in your html page.
<div id="qxframe"></div>

To activate the scollbars you have to change the settings in your html page,
before you load your application:
<script type="text/javascript">
        qxsettings = new Object();
        qxsettings["qx.enableApplicationLayout"] = false;
</script>

In your application you have to use the inline widget like this:
var inlineWidget = new qx.ui.basic.Inline("qxframe"); 
Add your stuff to the inline widget and add the inline widget to the
document.

But be aware!!! There ist a bug with coordinates in Firefox, when you scroll
down the browser. Read this thread:"table row select bug (FF)..." Hopefully
this will be fixed soon.

Cheers
Torsten


inlineWidget.add(vbx);


Philippe Poulard wrote:
> 
> hi,
> 
> I'm totally new to qooxdoo, I apologize if this question has been 
> already asked (I didn't find any answer in the doc...)
> 
> Say that I have an existing HTML code to which I'd like to add a Widget 
> in the flow, say a button ; how to do that ?
> 
> In the "hello world" tutorial, the button is added to the document, 
> which is empty :
>        // Add button to document
>        button1.addToDocument();
> But my HTML document isn't empty, and I'd like to insert it at the place 
> specified by an ID, without positionning (maybe with width and height, I 
> don't mind)
> 
> Additionally, the complete document is no more scrollable ; I guess that 
> I need to put all the content inside a <div> and declare it srollable in 
> a certain way with a widget, but I don't know how to do that
> 
> If someone would be kind to help me :) thanks in advance
> 
> -- 
> Cordialement,
> 
>                ///
>               (. .)
>   --------ooO--(_)--Ooo--------
> |      Philippe Poulard       |
>   -----------------------------
>   http://reflex.gforge.inria.fr/
>         Have the RefleX !
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
> 
> 

-- 
View this message in context: 
http://www.nabble.com/qooxdoo-inside-existing-html-tf4402885.html#a12588376
Sent from the qooxdoo-devel mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to