PDA

View Full Version : Entire dropdown menu is shown briefly while page loads



et10yl
06-08-2007, 08:15 PM
1) Script Title: Blm Multi-level Effect menu

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

3) Describe problem:
Sometimes, the entire menu and all the levels stay on the page for a couple of seconds while the page is loading. Is there any way to prevent this from happening? Like maybe preloading the menu so that when it displays on the page it is already collapsed to show only the top level instead of having all the levels display?

blm126
06-09-2007, 02:53 PM
Please read the documentation under the "inaccesible" option. It explains how to prevent this. Basically, just add the class "inaccesible" to your top div, and the flickering goes away.

et10yl
06-11-2007, 03:29 PM
Thanks Brad! Solved my problem perfectly. :)