Events Not Working

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
rogerr
 
 
Posts: 58
Joined: Fri Feb 02, 2018 2:43 am

Events Not Working

Post by rogerr »

Hello,
I have a page with a layout grid containing two columns. The left column has two text boxes stacked vertically,
the top is visible, bottom is hidden Pressing the "View More" button should make bottom text box (Text11) visible, hide the "View More" button and show a "Close" button. Pressing "Close" should hide the Text11, show "View More" and hide "Close" button.

But pressing "View More" just hides this button and does nothing else. "Close" button never shows nor the Text11.
The example site is https://wailea.net/ - the menu option "Events Screen" shows the Events box setup.

This worked for awhile then just stopped working.

2nd issue, the right column has a text link "Click for Availability" which does not display the linked page even though the bottom of the browser shows the correct link.

The 3rd menu option, "Working Example" shows how it should work.

There are other screens on the site temporarily hidden to simplify the display for testing.

Any help will be greatly appreciated.

Thanks,
Roger
User avatar
Pablo
 
Posts: 23029
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Events Not Working

Post by Pablo »

To be able to help you I need a (stripped) copy of the project file so I can see all your settings.

Related FAQ:
viewtopic.php?f=10&t=82134
rogerr
 
 
Posts: 58
Joined: Fri Feb 02, 2018 2:43 am

Re: Events Not Working

Post by rogerr »

Hello Pablo,

The file is zipped as https://wailea.net/WaileaPoint.zip

Thanks,

Roger
User avatar
Pablo
 
Posts: 23029
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Events Not Working

Post by Pablo »

There are a few issues:
- The layout grid itself has an onclick event, this may override the button click. Please remove the event from the Layout grid.

- The page has breakpoints, this may affect visibility of objects. Make sure 'include visibility' is not checked for all objects which are controlled by events.
Related FAQ:
"When using events, the visibility is affected by breakpoints"
viewtopic.php?f=10&t=63817

- For floating elements (like text inside a layout grid), it is better to use "showwitheffects/hidewitheffects" instead of 'show/hide'.
If you do not want an effect then set it to 'fade' with length 1.
rogerr
 
 
Posts: 58
Joined: Fri Feb 02, 2018 2:43 am

Re: Events Not Working

Post by rogerr »

Hello Pablo,

Thank you much for the advice. I made the changes and it works correctly now. I had spent a couple of hours before trying to get this to work.

It appears that "include visibility" is set by default as I did not use this setting. Also, I am curious as to why the text link did not work before, it does now.

Again, I appreciated your help on this.

Roger
User avatar
Pablo
 
Posts: 23029
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Events Not Working

Post by Pablo »

It appears that "include visibility" is set by default as I did not use this setting.
Correct, because that is the normal behavior.
Only when you want control the visibility via events/javascript this needs to be off.
Also, I am curious as to why the text link did not work before, it does now.
Probably because the layout grid onclick event was added, this overrides all 'click' behavior.
rogerr
 
 
Posts: 58
Joined: Fri Feb 02, 2018 2:43 am

Re: Events Not Working

Post by rogerr »

Thanks much!
Post Reply