Hi Leander,
> Hi all,
>
> did anyone has an example how to scroll an iframe in qooxdoo (via the
> page that opens the iframe, not from inside of the iframe)?
>
> Scrolling seems to be integrated in html for an iframe via scrollBy,
> which is related to a window but also to an iframe (but not allways at
> it seems).
> Qooxdoo seems not to integrate this, or did it?
>
> If qooxdoo can not do this, how could I access the scrollBy function of
> the Iframe directly? I tried it with getIframeNode() but the system sais
> that the result object had no scrollBy() function.
>
>   
scrooBy id defined in the window object 
<http://developer.mozilla.org/en/docs/window.scrollBy> so you need the 
window object of the IFrame. You can get it using  getContentWindow() 
<http://demo.qooxdoo.org/current/apiviewer/#qx.ui.embed.Iframe~getContentWindow>
 
method of the qooxdoo IFrame widget or using the static method 
qx.html.Iframe.getWindow() 
<http://demo.qooxdoo.org/current/apiviewer/#qx.html.Iframe~getWindow>.


Best Fabian

>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
>   


-- 
Fabian Jakobs
JavaScript Framework Developer

1&1 Internet AG
Brauerstraße 48
76135 Karlsruhe

Amtsgericht Montabaur HRB 6484

Vorstand: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Andreas Gauger, 
Matthias Greve, Robert Hoffmann, Norbert Lang, Achim Weiss
Aufsichtsratsvorsitzender: Michael Scheeren


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to