Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:21
Collapsing menu with itemwidth in IE 6
Poster: pxb
Dated: Tuesday December 20 2005 - 0:30:51 GMT
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.
menu with itemwidth etc.
Poster: Migru
Dated: Wednesday December 21 2005 - 11:13:06 GMT
HI,
could you give an url please, to see what it is?
Michael
Example of collapsing menu
Poster: pxb
Dated: Wednesday December 21 2005 - 13:00:43 GMT
see:
http://threshold-group.com/test/home.html
Using IE, shrink the browser window until it is more narrow than the menu.
Poster: tootricky
Dated: Wednesday December 21 2005 - 14:19:16 GMT
Have you tried moving the "itemwidth=140;" from the style properties to the menu properties (just below the orientation:horizontal)
That should work.
your menu ... is ok
Poster: Migru
Dated: Wednesday December 21 2005 - 15:08:39 GMT
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
Your Example Works But Mine Does Not
Poster: pxb
Dated: Wednesday December 21 2005 - 21:48:22 GMT
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.
arrow gifs
Poster: Migru
Dated: Thursday December 22 2005 - 1:10:39 GMT
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