Activate sliding menu with OnTap in Template

Heino Schaght shared this question 4 years ago
Answered

Hello,


I have a template with a dynamic panel on it. This panel is a menu.


I've created an OnTap event which shows the menu with a slide effect.


This works on the template itself, but as soon as I create a screen based on this template, the OnTap doesn't work any more. Probably because it's in the back? I don't want to use a button because the user has to be able to click anywhere on the screen to activate the menu.


Any idea how I could trigger the event?


Regards,


Heino.

Comments (3)

photo
1

Hi Heino,


If you have something covering the dynamic panel in the template it won't detect the tap unless you select the dynamic panel, go to properties and select the checkbox "always on top"


I hope this helps you with your prototype.


Best,


Marc

photo
1

Hi Marc,


thanks for the response. I think my question wasn't clear enough. The tap event is on screen level not on the dynamic panel. When I test the template and click anywhere in the page, the dynamic panel is shown, but with a screen based on the template it doesn't work.


Regards,


Heino.

photo
1

This is because the screen goes on top pf the template so it covers the template.A workarround would be to draw an image map as big as the screen on the template, select "always on top" and then have the event there.


I hope this helps.


Best,


Marc