Re: [qooxdoo-devel] Scrolling in an iframe

2007-07-18 Thread Leander Hanwald
Hi thron7, Thx, that helps :) Even I don't understand why it doesn't work (and still doesn't work), I get the window when I call "blank" or a not existing site even in my own app. So the problem must be a rights problem as you already wrote. The page that is loaden and the js are from the same se

Re: [qooxdoo-devel] Scrolling in an iframe

2007-07-17 Thread thron7
Leander, > So only the window doesn't work > One other thing: If you are running into a cross-domain situation, getContentWindow() will also return null. So make sure you load the iframe document from the same domain as your main index.html. > Did anyone has a example skelleton to post here wh

Re: [qooxdoo-devel] Scrolling in an iframe

2007-07-16 Thread Leander Hanwald
Hi thron7 sorry, "this.getIFrame()" is a local property getter of the form. It returns the iframe :) And yes, setSource() was used before, my example is executed inside an "execute" event of a button when the page was loaden inside the iframe by myself. getIframeNode() was an example that the ifr

Re: [qooxdoo-devel] Scrolling in an iframe

2007-07-16 Thread thron7
Leander Hanwald wrote: > Hi Fabian, > > thx, sound good, but doesn't work here ;) > > (qooxdoo 0.7) > > alert(this.getIFrame()); //.scrollBy(5000,5000); > -> shows "[object qx.ui.embed.iframe]" > > alert(this.getIFrame().getIframeNode()); > -> shows "[object HTMLIFrameElement]" > > alert(qx.html.If

Re: [qooxdoo-devel] Scrolling in an iframe

2007-07-16 Thread Leander Hanwald
Hi Fabian, thx, sound good, but doesn't work here ;) (qooxdoo 0.7) alert(this.getIFrame()); //.scrollBy(5000,5000); -> shows "[object qx.ui.embed.iframe]" alert(this.getIFrame().getIframeNode()); -> shows "[object HTMLIFrameElement]" alert(qx.html.Iframe.getWindow(this.getIFrame().getIframeNod

Re: [qooxdoo-devel] Scrolling in an iframe

2007-07-16 Thread Fabian Jakobs
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 allway

[qooxdoo-devel] Scrolling in an iframe

2007-07-16 Thread Leander Hanwald
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