Page 1 of 1

Page Properties missing Events in the Events Tab

Posted: Wed Apr 17, 2019 5:24 am
by Magical
I opened the properties of the index.html of an old project (from 4 months ago). The events tab should have had ondocument ready events, but there are no events. The Page HTML does have the following, but I have no way to correct it. The page works as it should, just the control elements are missing from the UI. Any ideas?


<script>
$(document).ready(function()
{
$('#wb_service-text').addClass('visibility-hidden');
$('#contact-text').addClass('visibility-hidden');
$('#wb_Swan_Icon').addClass('visibility-hidden');
$('#wb_swan_manor_value_text').addClass('visibility-hidden');
$('#wb_swan_manor_value_text2').addClass('visibility-hidden');
$('#wb_Card4').addClass('visibility-hidden');
$('#wb_Card5').addClass('visibility-hidden');
$('#wb_Card6').addClass('visibility-hidden');
$('#Card7').addClass('visibility-hidden');
$("a[href*='#home']").click(function(event) .....

Re: Page Properties missing Events in the Events Tab

Posted: Wed Apr 17, 2019 6:07 am
by Pablo
This code will be added automatically when you use CSS animations to make sure the objects are initially hidden.

If the Events tab is missing then you most likely have enabled 'Easy Mode'. This will hide advanced options: Menu -> View > Easy Mode.

Re: Page Properties missing Events in the Events Tab

Posted: Wed Apr 17, 2019 2:50 pm
by Magical
The code is already present in the HTML, but I cannot see it in the wysiwig UI. Its not under page_properties ->events for the page or any other CSS animation. That was my point. Last year I was able to see it and change it as I added new UI elements.

Re: Page Properties missing Events in the Events Tab

Posted: Wed Apr 17, 2019 3:14 pm
by Pablo
The code is already present in the HTML, but I cannot see it in the wysiwig UI.
Correct. WWB will add it as part of the CSS animations.
Last year I was able to see it and change it as I added new UI elements.
No, this has not changed. The code is added because of animations in onscrollreveal or onscrollrevealpartial events.

If you have a good reason not to include the code then you can disable it by adding the following user defined variable:
$SCROLLREVEAL_AUTOHIDE$
false

at your own risk!

Re: Page Properties missing Events in the Events Tab

Posted: Wed Apr 17, 2019 3:22 pm
by Magical
I uploaded a test wbs http://www.d2biz.com/swanmanorassistedl ... _issue.wbs

The issue is on the index page. The bottom 3 cards are initially set to be hidden, and then as the user scrolls up they become visible.

But if you access the page properties - > events. There are no events at all, even though they exist in the generated html.

Re: Page Properties missing Events in the Events Tab

Posted: Wed Apr 17, 2019 3:27 pm
by Pablo
As expected, you are using onscrollreveal events. That is why the code is added.
The code is not caused by a separate statement, it is part of the onscrollreveal events and Animate (CSS3)

See my previous reply.

Re: Page Properties missing Events in the Events Tab

Posted: Wed Apr 17, 2019 3:55 pm
by Magical
Where do I control these? For example If i wanted card3 to remain visible and not activate on scroll? Where would I change that?

Re: Page Properties missing Events in the Events Tab

Posted: Wed Apr 17, 2019 5:36 pm
by Pablo
In the project you have shared, card is not controlled by event.

Maybe you meant card4, card5 and card6? These events are implemented in Bookmark1

Re: Page Properties missing Events in the Events Tab

Posted: Wed Apr 17, 2019 6:56 pm
by Magical
Thank you so much. Is there a faster way to read the wbs and find the properties instead accessing each item and looking at its events?

Re: Page Properties missing Events in the Events Tab

Posted: Wed Apr 17, 2019 8:18 pm
by Pablo
I'm sorry, there is no faster way.