Flash of Unstyled Content

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
rogerpoole
Beginner
Beginner
Posts: 5
Joined: Fri Jan 20, 2006 10:13 pm

Flash of Unstyled Content

Post by rogerpoole »

Client clams that her site is flashing the content before the styling is loaded.

http://www.tsphr.com/ce.php

I don't get the problem. The site seems to load fine. I've looked all over the web for some sort of solution. When I try to validate the site via w3.org I get errors that seem to be based on the milonic code.

Could someone take a look and tell me if they are getting the same problem. Could the milonic code be in the wrong place?

Thanks
Roger Poole
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

I don't see the problem, either.

The validate errors you're seeing are due to XHTML not liking the _d.write statement.
John
vikenk
Mega Advanced
Mega Advanced
Posts: 297
Joined: Tue Nov 29, 2005 7:38 pm

Post by vikenk »

Yes, I can see the problem in IE, but not in FireFox. You're using the list-based menu. I can see a quick flash of the list before the rest of the site loads. It happens on reload as well.

I have little experience with the list-based menu, but I would suggest trying to move the list down a little in the code. John, I'm not sure how flexible the list-based menu is. Does it give you the flexibility to move the list, or does it have to be in a certain place?

I'm using Windows XP/Pro SP-2, latest version of IE, and latest version of Firefox (ver. 1.5.0.2).
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

Try upgrading to the newest version of the menu.

As to the xhtml validation, check this topic, go down to the bottom.

viewtopic.php?t=4106

Ruth
rogerpoole
Beginner
Beginner
Posts: 5
Joined: Fri Jan 20, 2006 10:13 pm

got it working

Post by rogerpoole »

By "//<![CDATA[" ing the stuff that the W3C was having problems with, I was able to find an error and thus fix the page.

Thanks
Rog
vikenk
Mega Advanced
Mega Advanced
Posts: 297
Joined: Tue Nov 29, 2005 7:38 pm

Post by vikenk »

Just an FYI:

I still see a quick flash of the UL before the site loads in IE.
Post Reply