PDA

View Full Version : ddsmoothmenu list items are rendered down the page for 1-2s before css applied



stodge
10-28-2011, 12:29 PM
1) Script Title: Smooth Navigational Menu (v1.5)

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/ddsmoothmenu.htm

3) Describe problem:

I have ddsmoothmenu working to produce a horizontal menu but when I refresh the page, the menu list is rendered vertically for a second or two and the the css is applied and the menu is displayed correctly. I've checked my load times for CSS/JS etc. and everything is being served successfully and on time. I also see the same issue on the Dynamic Drive with the vertical green menu. Any suggestions greatly appreciated.

ddadmin
10-29-2011, 04:20 AM
Are the menu's two CSS references at the very top of your page:


<link rel="stylesheet" type="text/css" href="ddsmoothmenu.css" />
<link rel="stylesheet" type="text/css" href="ddsmoothmenu-v.css" />

Also, how fast is your internet connection?

stodge
10-29-2011, 12:13 PM
I'll have to double check when I get to work on Monday but this was on localhost, so the network speed is irrelevant. Thanks