Collapsing menu with itemwidth in IE 6

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
pxb
Beginner
Beginner
Posts: 4
Joined: Sun Feb 15, 2004 3:41 am

Collapsing menu with itemwidth in IE 6

Post by pxb »

Consider a simple horizontal menu where the menu sets its width from the width of the menu items. If one shrinks the browser window, the menu items retain their size. Since I want the menu items to be of equal width, I set the itemwidth property. This works. However with itemwidth set, when one shrinks the browser window, the menu now shrinks

The problem occurs with IE6 but not with Firefox.

I'm using version 5.738

Any suggestions appreciated.
Peter
Migru
Milonic Guru
Milonic Guru
Posts: 669
Joined: Tue Nov 01, 2005 8:22 pm
Location: Hamburg - Germany
Contact:

menu with itemwidth etc.

Post by Migru »

HI,

could you give an url please, to see what it is?


Michael
pxb
Beginner
Beginner
Posts: 4
Joined: Sun Feb 15, 2004 3:41 am

Example of collapsing menu

Post by pxb »

see:

http://threshold-group.com/test/home.html

Using IE, shrink the browser window until it is more narrow than the menu.
Peter
tootricky
Advanced
Advanced
Posts: 28
Joined: Tue Dec 07, 2004 4:07 pm

Post by tootricky »

Have you tried moving the "itemwidth=140;" from the style properties to the menu properties (just below the orientation:horizontal)

That should work.
Migru
Milonic Guru
Milonic Guru
Posts: 669
Joined: Tue Nov 01, 2005 8:22 pm
Location: Hamburg - Germany
Contact:

your menu ... is ok

Post by Migru »

look at your file

http://www.dhyg.de/Milonic%20DHTML-Java ... 20Page.htm

just have renamed the menu_data file, annexing "ccc" and have made available a subimage which is specified as subimage="arrow.gif" and defined menuwidth=840; (= 6x140) ...and took out the <NOSCRIPT> tags.

I´ll delete this file in a couple of days.

Michael
pxb
Beginner
Beginner
Posts: 4
Joined: Sun Feb 15, 2004 3:41 am

Your Example Works But Mine Does Not

Post by pxb »

Thanks for suggestion. Your version does what I need.

I assume the substative change is including a menuwidth=840 parameter. However, if I make this chang to in my menu_data.js file, or remove the noscript tags in the html, the sympton persists on my side. I did not replace your arrow gif iwht the prior one, assuming a gif is a gif as far as the menu is concerned.
Peter
Migru
Milonic Guru
Milonic Guru
Posts: 669
Joined: Tue Nov 01, 2005 8:22 pm
Location: Hamburg - Germany
Contact:

arrow gifs

Post by Migru »

Hi

oh yes, of course, that comment was made only, because there was no such gif available at that (my) testing site. Has nothing to do with the problem.

Michael
Post Reply