Anchor links in browser widget

J. Landman Gay jacque at
Mon Apr 1 15:18:45 EDT 2019 broke again. Reloading the content causes scripted internal 
links to fail, even when using the dummy URL. Yesterday I was able to 
work around it by deleting and recreating the widget but today that 
doesn't work either.

I may need to go back to the revBrowser implementation, since layering 
isn't working with the widget anyway and internal links aren't reliable.

Does anyone have suggestions before I do that?

On 3/31/19 10:21 PM, J. Landman Gay via use-livecode wrote:
> Of course, I figured it out as soon as I posted, but who would have 
> guessed the link is: http://libbrowser_dummy_url/#1234
> LibBrowserDummy. Right.
> On 3/31/19 10:00 PM, J. Landman Gay via use-livecode wrote:
>> I have a browser widget that I'm loading with HTML from a variable, so 
>> it doesn't have a URL per se. The HTML contains anchor links to other 
>> parts of the page, which work when I click them. I also want to call 
>> these anchors from a script. What's the right syntax?
>> These fail:
>> set the url of widget "browser" to "#1234"
>> set the url of widget "browser" to "<a href=#1234>"
>> set the url of widget "browser" to "<a href=#1234></a>"

Jacqueline Landman Gay         |     jacque at
HyperActive Software           |

More information about the Use-livecode mailing list