Jquery drop down expanding when page loads

BrighteyesDesign
BrighteyesDesign used Ask the Experts™
on
I have a site online that uses a dropdown vertical menu, this seems to expand for a second though when you navigate to the page.

If you go to this link then refresh the page you'll see what I mean.

Any ideas how to sort this?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Is there a url you can post so we can see what you're talking about?

Author

Commented:
Ah yes, that might help : )

http://www.anjoman.co.uk/monthly-meeting.php
leakim971Multitechnician
Top Expert 2014

Commented:
open menu.css set , add display:none

ul#menu, ul#menu ul {
display:none
      list-style-type:none;
      margin: 0;
      padding: 0;
}
Amazon Web Services

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

leakim971Multitechnician
Top Expert 2014

Commented:
add the semicolon :
ul#menu, ul#menu ul {
      display:none;
      list-style-type:none;
      margin: 0;
      padding: 0;
}

Open in new window

leakim971Multitechnician
Top Expert 2014

Commented:
or add : style="display:none" to your menu :

<ul id="menu" style="display:none">

Open in new window

Author

Commented:
Thanks for that leakim

With both of those methods though the whole menu dissapears?

Like here (using <ul id="menu" style="display:none">)  http://www.anjoman.co.uk/nomenu.php
leakim971Multitechnician
Top Expert 2014

Commented:
yes, you right apply this to all the UL inside not itself
Multitechnician
Top Expert 2014
Commented:
or add in your stylesheet (an remove the line on the previous one) :

ul#menu ul {
      display:none;
}

Open in new window

Author

Commented:
Yes, that's done it!

Thanks alot

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial