Hi Hari,

the problem is that the IFrame in your example doesn't point to the same 
domain as your application. In this case you can't use ThemedIframe due 
to the Same Origin Policy restriction (have a look at the class 
documentation).

You can use the qx.ui.embed.Iframe instead:
http://tinyurl.com/2egkxse

Cheers,
Chris

Am 17.09.2010 11:50, schrieb Tranninger Harald:
>
> -----Ursprüngliche Nachricht-----
> Von: Christian Hagendorn [mailto:[email protected]]
> Gesendet: Freitag, 17. September 2010 09:05
> An: qooxdoo Development
> Betreff: Re: [qooxdoo-devel] iframe scrollbars / scale
>
>    Hi Hari,
>
> no, that should work. You can also turn the scrollbars off when using it
> as array in the set map:
> var iframe = new qx.ui.embed.ThemedIframe().set({
>           width: 300,
>           height: 300,
>           minWidth: 200,
>           minHeight: 150,
>           source: url,
>           decorator : null,
>           scrollbar : ["off", "off"]
> });
>
> Does the URL from the Iframe points to same domain as the application?
>
> Cheers,
> Chris
> ------------------------------------------------------------------------
>
> I also tried this, you suggested me, but it doesn´t work.
> My code is:
>
>           var tabView = new qx.ui.tabview.TabView();
>           tabView.setWidth(800);
>           tabView.setHeight(600);
>           tabView.setBarPosition("left");
>       
>           for (var i=0; i<  array.getLength(); i++)
>           {
>                       var page = new qx.ui.tabview.Page("Test"+I,null);
>                       
>                       var layout = new qx.ui.layout.VBox(10);
>                       layout.setSeparator("separator-vertical");
>                       page.setLayout(layout);
>                       tabView.add(page);
>
>                       var url = "http://www.qooxdoo.org";
>               var iframe = new qx.ui.embed.ThemedIframe().set({
>                       width: 300,
>                       height: 300,
>                       minWidth: 200,
>                       minHeight: 150,
>                       source: url,
>                       scrollbar : ["off", "off"],
>                       decorator : null
>                   });
>                   page.add(iframe, {flex: 1});
>               }
>
>
> I create a dynamic tabview with a certain amount of pages.
> Each page has an iframe with a certain (in this case same) url.
> All scrollbars of the iframes should be disabled.
>
> Hm I don´t know what I´m doing wrong.....
>
> Thx!
> H.
>
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to