Browser Widget usage examples

Moderators: LCMark, LCfraser

VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2093
Joined: Thu Feb 28, 2013 11:52 pm
Location: Göttingen, DE

Re: Browser Widget usage examples

Post by [-hh] » Sun Sep 01, 2019 8:29 pm

Widget usage example #27: NoNavigation/NoBackNavigation

As this was several times a question in the forum and also in the use-list here a method that works in the browser widget on all platforms that support it.

This is the first and only (without 'side effects') working method of a lot of answers I found on stack overflow. It cleverly uses CSS! Credits are in the stack.

You can choose to have

• either no navigation at all or
• no back navigation only

from the current page by simply using check buttons.

The script is short but better to understand with a demo, it adds a short javascript to every page that you open (see card script).

The attached stack is tested to work with LC 9.5.0 on MacOS 10.14.6, Windows 10 and Ubuntu 1604 (64bit).
(2.75 KiB) Downloaded 42 times
shiftLock happens

Post Reply

Return to “LiveCode Builder”