OpenURL() from links in an HTML gadget?
BlitzMax Forums/BlitzMax Programming/OpenURL() from links in an HTML gadget?
| ||
I'd like to have a thin HTML view gadget with a number of links that open in a full browser window rather than the HTML view itself. Is this possible somehow? I'd rather not have it try to open a window through HTML because popup blockers etc. would probably mess it up, but is there some way to catch that a link has been clicked from Blitz? |
| ||
Quote from docs on CreateHTMLView "If the HTMLVIEW_NONAVIGATE style is selected, EVENT_GADGETACTION is generated when the user clicks on a link with EventText containing the requested URL" So you can get an event with a requested URL and take whatever action you find appropriate :) |
| ||
Whoops! Somehow I completely missed that. Thank you! |