Avatar of liltyga
liltyga asked on

Preventing page from flickering on reload

Hi,

I need to build a vertical navigation and ensure that when transitioning from page to page, that the webpage doesn't flash or flicker.  Does anyone know a good way to ensure this?  I know that there have been some issues with regards to style sheets causing this to occur, but I don't actually know how to prevent or design pages to ensure that they dont flash or flicker when moving from page to page.

JavaScript

Avatar of undefined
Last Comment
searlas

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
searlas

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
searlas

Another FOUC (Flash Of Unstyled Content) resource:
http://www.bluerobot.com/web/css/fouc.asp
searlas

The fix seems to be to include an empty script tag in your <head> element:
<script type="text/javascript"> </script>
Your help has saved me hundreds of hours of internet surfing.
fblack61