Page 1 of 1

Open Modal Layer from Panel Menu

Posted: Thu Aug 15, 2019 10:50 pm
by toones
I am having trouble opening a modal layer from the panel menu. I have a "Contact Us" link in the menu and at the bottom of the page in the navigation/footer area. I have created the modal layer and have it working from footer area of the website, but it is not working from the panel menu. I set the menu item up identical to the footer link: destination url "#", and added an on click/show event. When I open the panel, click on the menu item, it keeps me at the top of the page (if I open the menu while I am further down the page, it jumps me back to the top.

I have checked the generated HTML and the links/events are identical. Has anyone run into this or have any suggestions on how to work around it?

Re: Open Modal Layer from Panel Menu

Posted: Fri Aug 16, 2019 6:47 am
by Pablo
To be able to help you, I need to see what you have done.
What is the URL of the page or where can I download your project file?

Re: Open Modal Layer from Panel Menu

Posted: Mon Aug 19, 2019 2:45 pm
by toones
Thank you for your response and willingness to help me figure this out. The website files can be downloaded here: https://we.tl/t-nysWRQxuqG

Re: Open Modal Layer from Panel Menu

Posted: Mon Aug 19, 2019 4:43 pm
by Pablo
I'm sorry, but the zip file only contains images.
I need the project file (wbs).

Also I need to know the exact location in te project to look for the problem.

Re: Open Modal Layer from Panel Menu

Posted: Mon Aug 19, 2019 8:04 pm
by toones
Sorry about that.

The draft site is: http://www.jandmms.net/Sample/wb11_videobg.php

The wbs is here: https://we.tl/t-Gfdbl6AA9d

To clarify - The contact us at the bottom of the page works. The contact us in the panel menu does not.

Re: Open Modal Layer from Panel Menu

Posted: Mon Aug 19, 2019 8:44 pm
by Pablo
There are 2 panel menu objects on the page.
The modal layer is configured for page menu 1. However. panel menu 2 (with links) is visible. So linking on the links will do nothing.

Re: Open Modal Layer from Panel Menu

Posted: Mon Aug 19, 2019 11:50 pm
by toones
I turned off the synchronization with panel 1 as I couldn't edit/add the event to panel 2 with synchronization turned on; added the on click event for the Contact Us link (it was already on panel 1 but menu synchronization does not synchronize events); then turned synchronization back on (just because it is there), and it worked. The on click event for Contact Us now opens the modal form.

Thank you for your help!