When I create javascript sites that manipulate the page, and this manipulation occurs when the page loads, I often get an unpleasant flicker effect.
For example, if I had an accordion, the full content should be loaded as html, and then after downloading it, it can be wrapped using javascript. This means that for a moment the full content is displayed, and then it “flickers” as some of them are hidden.
One solution would be to hide any flickering content using css and then show it (if necessary) using javascript. The problem is that the page will not work correctly for people without javascript.
Is there a better way? thank
Evans source
share