Menu width changing in Firefox, Mozilla after... [Solved]

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
mfrie01
Advanced
Advanced
Posts: 10
Joined: Thu Jun 16, 2005 10:36 pm
Contact:

Menu width changing in Firefox, Mozilla after... [Solved]

Post by mfrie01 »

I noticed that release 5.728 has a fix relating to changing menu width with Mozilla-based browsers. I have a problem with the menu "contracting" when returning from print preview. The menu is set relative and in a fixed-width table. There's no problem with Explorer 6, and if you hit refresh with the others the screen repaints properly.

You can view the problem by going to:
http://www.cowlesgraphicdesign.com/vist ... tions.html and then choosing print preview from your browser menu. When you close the preview window you'll see that the menu has collapsed. Refresh the page and all is well.

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

Post by John »

I'm not seeing that in Firefox/Mac. Probably because the main window remains and is not replaced by the preview.

Somebody else will have to try Win, at least until I get back in the office.
John
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi Michael,

Yes it is doing it on a PC. I figured the solution. You need to specify a menu width, it has something to do with it being in the table and being aligned right. But, if you specify menuwidth=690;

Code: Select all

with(milonic=new menuname("Main Menu")){
style=menuStyle;
alwaysvisible=1;
orientation="horizontal";
position="relative";
menuwidth=690;
then it will not shift smaller. I think 690 is about what you need to keep it looking in the same place it is now.

Ruth
mfrie01
Advanced
Advanced
Posts: 10
Joined: Thu Jun 16, 2005 10:36 pm
Contact:

Post by mfrie01 »

Ruth,

Once again you've come through. You're the bomb!

Thanks so much,
Michael
Michael Friedlander
Post Reply