Document.Ready section - How?

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
MorningLight
 
 
Posts: 149
Joined: Tue Jul 04, 2017 12:15 pm

Document.Ready section - How?

Post by MorningLight » Mon Jan 06, 2020 7:33 pm

How can I insert a code in the "document.ready" section of a page?

Thank you!

User avatar
BaconFries
 
 
Posts: 4999
Joined: Thu Aug 16, 2007 7:32 pm

Re: Document.Ready section - How?

Post by BaconFries » Mon Jan 06, 2020 7:41 pm

First please note that WB is not a HTML Editor but a HTML Generator this means that you cannot directly edit the HTML. With this said you can use the HTML OBJECT Also note there's no help with coding/scripts.

MorningLight
 
 
Posts: 149
Joined: Tue Jul 04, 2017 12:15 pm

Re: Document.Ready section - How?

Post by MorningLight » Mon Jan 06, 2020 7:47 pm

Yes, I understood the point @Bacon.

I'm trying to avoid the "flicking" effect to hidden with some components having "OnScrollRevealPartial", when the page starts.

I tried to set them as "FadeOut" on event "BeforeLoad" but even this, I see the component "flick" (it appears and disappears quikly).

User avatar
jerryco
 
 
Posts: 292
Joined: Fri Mar 27, 2009 2:42 pm
Location: Purmerend, Holland

Re: Document.Ready section - How?

Post by jerryco » Mon Jan 06, 2020 9:03 pm

Ah yes. Try setting the thing you don't want to flicker to invisible in WWB. Been a long time.
// Love is the acceptance of nothing / So, you're here. Now dance.

/ You want RWD? Rotate your damn phone! //

User avatar
Pablo
 
Posts: 21839
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Document.Ready section - How?

Post by Pablo » Mon Jan 06, 2020 9:21 pm

There is a 'ondocumentready' event in the page properties.
But if you use CSS3 animations with onscrollreveal, then the objects will be hidden automatically.

MorningLight
 
 
Posts: 149
Joined: Tue Jul 04, 2017 12:15 pm

Re: Document.Ready section - How?

Post by MorningLight » Tue Jan 14, 2020 7:53 pm

Hi,

@jerryco, the "HIDE" settings on the Page load does not function as expected. The Layoutgrid flicks in anyway and the "Show by CSS3" does not unhide it.

Thanks anyway.

MorningLight
 
 
Posts: 149
Joined: Tue Jul 04, 2017 12:15 pm

Re: Document.Ready section - How?

Post by MorningLight » Tue Jan 14, 2020 7:56 pm

@Pablo,

I utilize "OnScrollRevealPartial" because it seems more convenient to people whom has smaller browse window (like vertical = 400).
And the components/layout grid flicks in the page initial display as well.

Anyway, I'll research something to solve this... I'll post here if I'll get sucess.

Hugs!

MorningLight
 
 
Posts: 149
Joined: Tue Jul 04, 2017 12:15 pm

Re: Document.Ready section - How?

Post by MorningLight » Tue Jan 14, 2020 8:29 pm

OMG :roll:

I saw a STUPID post calling this effect as a Chrome bug and recommending....

Code: Select all

<script> </script>
... at the end of page. In resume, just a space into a <SCRIPT> declaration!

It functions!

Pablo, what do think about implementing this code as a default in all new pages?

To see more:
https://lab.laukstein.com/bug/input

Hugs!

MorningLight
 
 
Posts: 149
Joined: Tue Jul 04, 2017 12:15 pm

Re: Document.Ready section - How?

Post by MorningLight » Wed Jan 15, 2020 8:10 pm

:cry:

Hmmm.... this tip functions sometimes, not at all.

I still have the layoutgrid "flicking" at the page loading...

I'll continue my research on this.

Post Reply