Logged as Bug 1482.
On Fri, Oct 17, 2008 at 10:44 AM, Jim Hunter <[EMAIL PROTECTED]> wrote:
> I found the issue. If you use the control as the documentation says, it
> doesn't work. If you use the control like the demobrowser does, it works.
>
> Basically, if you create the qx.ui.embed.Iframe control and pass in the URL
> like this:
>
> f = new qx.ui.embed.Iframe('http://www.google.com')
>
> the control does not work. But if you do this:
>
> f = new qx.ui.embed.Iframe();
> f.setSource('http://www.google.com');
>
> then it does work. I will put in a bug about this if there is none already.
>
> Jim
>
>
>
>
> On Thu, Oct 16, 2008 at 5:45 PM, Jim Hunter <[EMAIL PROTECTED]> wrote:
>
>> I just created a new application so that I could test the
>> qx.ui.embed.Iframe and I get an empty rectangle where the web page should
>> be. So I tried to use a qx.html.Iframe and got nothing on the page at all.
>>
>> I took the code created for the hello world example and added the
>> following lines at the bottom:
>>
>> var f = new qx.ui.embed.Iframe('http://www.google.com')
>> f.setMinHeight(400) // it works the same with and without setting
>> these two properties. The only difference is the frame is much smaller if I
>> don't set the properties.
>> f.setMinWidth(1000)
>> doc.add(f, {top:0, left:0})
>>
>> and this is where I get the frame for the web page but I don't get the
>> content. And there is a bit of a difference between FF and IE. In FF the
>> frame is transparent and in IE it has a white background. But in both cases
>> the frame is empty.
>>
>> Anyone get an IFrame instance to work?
>>
>> Thanks,
>> Jim
>>
>
>
>
> --
> Jim Hunter
>
> DAILY THOUGHT: SOME PEOPLE ARE LIKE SLINKIES - NOT REALLY GOOD
> FOR ANYTHING BUT THEY BRING A SMILE TO YOUR FACE WHEN PUSHED DOWN THE
> STAIRS
>
--
Jim Hunter
DAILY THOUGHT: SOME PEOPLE ARE LIKE SLINKIES - NOT REALLY GOOD
FOR ANYTHING BUT THEY BRING A SMILE TO YOUR FACE WHEN PUSHED DOWN THE
STAIRS
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel