Menu keeps shrinking in width until page is loaded

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
Rene
Beginner
Beginner
Posts: 6
Joined: Mon Apr 02, 2007 6:19 pm

Menu keeps shrinking in width until page is loaded

Post by Rene »

Hello from the Netherlands.

I'm going to use the Milonic menu, but I have a problem.

I've got my menu sorted, but while the page loads (loads fast, but with a lot of images it can take some seconds), the menu keeps shrinking!

Example:

Site (built as table) is 800px wide. The menu should be like 790 wide.
If the page takes time to load the menu shrinks to 600px wide.
If I refresh the site loads in half a second and the menu is 790 wide.

I've tried to set

Code: Select all

_menuOpenDelay=150;
to 0, doesn't help.

I'd like the menu to stop shrinking and keep the same width at all times, is this possible?

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

Post by John »

Do you have a URL we can see?
John
Rene
Beginner
Beginner
Posts: 6
Joined: Mon Apr 02, 2007 6:19 pm

Post by Rene »

Thanks Ruth 8)
Last edited by Rene on Tue Apr 03, 2007 10:12 pm, edited 1 time in total.
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

Try setting a menuwidth in the main menu. You have placed overallwidth=780 in the style but it is not a style property, I don't believe, it's a menu property so would have to be stated in the menu property area, i.e. this section:

Code: Select all

with(milonic=new menuname("Main Menu")){
		style=menuStyle;
		alwaysvisible=1;
Ruth
Post Reply