Open Modal Layer from Panel Menu

Issues related to hyperlinks and web site navigation.
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/links.html
Post Reply
toones
 
 
Posts: 6
Joined: Wed Aug 14, 2019 2:25 am

Open Modal Layer from Panel Menu

Post 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?
User avatar
Pablo
 
Posts: 21575
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Open Modal Layer from Panel Menu

Post 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?
toones
 
 
Posts: 6
Joined: Wed Aug 14, 2019 2:25 am

Re: Open Modal Layer from Panel Menu

Post 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
User avatar
Pablo
 
Posts: 21575
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Open Modal Layer from Panel Menu

Post 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.
toones
 
 
Posts: 6
Joined: Wed Aug 14, 2019 2:25 am

Re: Open Modal Layer from Panel Menu

Post 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.
User avatar
Pablo
 
Posts: 21575
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Open Modal Layer from Panel Menu

Post 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.
toones
 
 
Posts: 6
Joined: Wed Aug 14, 2019 2:25 am

Re: Open Modal Layer from Panel Menu

Post 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!
Post Reply