In the stylesheet add
Display: no
to the root menu. here I assume this is an unordered list
So your style will be
<ul id="menu" style="display:none">...</ul>
Add Javascript code to your page.
If you are using jQuery. Try it,
jQuery(document).ready(function(){ jQuery('ul#menu').css('display','block'); });
If this does not work, provide more information in your question.
source share