I use a webviewer to reproduce a FAQ which is already on a website.
HOWEVER I do not want people to navigate away from that page.
Therefore I wish to ignore clicks on the menu
I tried a button or a Label over the hamburger menu but it is still clickable even when the button/label is on top? (In the example I moved the button away from the menu for clarity).
How can I prevent clicks on a particular area of the webviewer?
Fixing the scroll position to start at a certain position would also be an option but that is not possible either.
When I could run java script I would just run:
Yes. The website is mine.
I think sending a message to a wordpress site for hiding a menu is a bit cumbersome.
I am stuck. No other ideas?
Yeah. Build your faq in the app.
Thanks for the suggestion. i managed to extract the faq via web api. But that route is a lot of work.
This way it obviously does not work.
No. You can’t do script injection unless you own the site. And then you’d do it on that site.
Alternatively, use the webviewers post method, and throw the script onto your Wordpress site so you can listen for actions in the app from the site
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.