Start a new topic

open website in browser

open website in browser


Hello,

I have within a htmlDrawable a link to a website, when
you click on the link directly opens the website but not the ability to choose the browser and no turning back. How I can fix this?

regards

Your can set the allowDocumentLocationChanges to false so the content of the HtmlDrawable does not change. And use the  onDocumentLocationChanged trigger to get notified once if there would be any change to the document.location of the HtmlDrawable. Inside this trigger you can use AR.context.openInBrowser to open the url in the default browser.

ok, thanks. seems that it works
Login or Signup to post a comment