Anchor links in browser widget

J. Landman Gay jacque at hyperactivesw.com
Sun Mar 31 23:21:17 EDT 2019


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 hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list