Document.Ready section - How?

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
User avatar
MorningLight
 
 
Posts: 132
Joined: Tue Jul 04, 2017 12:15 pm

Document.Ready section - How?

Post by MorningLight »

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

Thank you!
User avatar
BaconFries
 
 
Posts: 5328
Joined: Thu Aug 16, 2007 7:32 pm

Re: Document.Ready section - How?

Post by BaconFries »

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.
User avatar
MorningLight
 
 
Posts: 132
Joined: Tue Jul 04, 2017 12:15 pm

Re: Document.Ready section - How?

Post by MorningLight »

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: 826
Joined: Fri Mar 27, 2009 2:42 pm
Location: Purmerend, Holland

Re: Document.Ready section - How?

Post by jerryco »

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 / Account age is no guarantee of efficiency ;-) ->

Above, Beyond, and @wwonderfull! <- Genuinely helps you with a powered up site that counts! Four Times Excellence!
User avatar
Pablo
 
Posts: 21578
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Document.Ready section - How?

Post by Pablo »

There is a 'ondocumentready' event in the page properties.
But if you use CSS3 animations with onscrollreveal, then the objects will be hidden automatically.
User avatar
MorningLight
 
 
Posts: 132
Joined: Tue Jul 04, 2017 12:15 pm

Re: Document.Ready section - How?

Post by MorningLight »

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.
User avatar
MorningLight
 
 
Posts: 132
Joined: Tue Jul 04, 2017 12:15 pm

Re: Document.Ready section - How?

Post by MorningLight »

@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!
User avatar
MorningLight
 
 
Posts: 132
Joined: Tue Jul 04, 2017 12:15 pm

Re: Document.Ready section - How?

Post by MorningLight »

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!
User avatar
MorningLight
 
 
Posts: 132
Joined: Tue Jul 04, 2017 12:15 pm

Re: Document.Ready section - How?

Post by MorningLight »

: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