I tried J.P's suggestion, using Inner_HTML, but couldn't get that to work, 
which seems to support this being a browser issue,
even though my browsers do work (both chrome and firefox) when I visit J.P's 
site.
Perhaps it works in his case because his web pages are local to his site?

Anyway, I just figured out how to get this to work with gnoga.
By calling the Attribute procedure on an IFrame element to change the "src" 
attribute.

e.g.

      App.My_Frame.Attribute (Name => "src", Value => <web page of interest>);

Brad

----- Original Message -----
> From: "David Botton" <da...@botton.com>
> To: "gnoga-list" <gnoga-list@lists.sourceforge.net>
> Sent: Saturday, March 6, 2021 5:52:31 PM
> Subject: Re: [Gnoga-list] Replacing the URL of an IFrame

> The browsers don’t support what you want to do is the issue. In general
> iframes are bad news.
> 
> David Botton
> 
> On Sat, Mar 6, 2021 at 11:10 AM Brad Moore <brad.mo...@shaw.ca> wrote:
> 
>> Hello,
>>
>> I am working on an application that uses an IFrame element to display a
>> web page.
>> I would like to be able to select from a list of URL's from another GUI
>> element and have the IFrame switch to the newly selected URL.
>>
>> It appears that the URL can only be specified when one "Create"s the
>> Iframe.
>>
>> Does gnoga support what I want to do? I've tried using calls such as
>> Element.Inner_Html, and calling Create_From_HTML,
>> but so far have not had any luck. Nothing happens.
>>
>> regards,
>>
>> Brad Moore
>>
>>
>> _______________________________________________
>> Gnoga-list mailing list
>> Gnoga-list@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gnoga-list
>>
> 
> 
> _______________________________________________
> Gnoga-list mailing list
> Gnoga-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gnoga-list


_______________________________________________
Gnoga-list mailing list
Gnoga-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnoga-list

Reply via email to