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:04
Strange problem with frames and submenu width
Poster: koks
Dated: Monday October 13 2003 - 13:23:11 BST
this is a really weird problem i have encountered.
take a look here:
http://planung.connexion.at/menutest/frame.htm
this is a normal frameset with a top and a left frame and a main site, which contains the menu. when you browse through the menu sections "land 1", "area 1" and "city 2" you will see a long list with automatic scrolling activated.
for some reason the menu displays a horizontal scrollbar here, even though it has plenty of space to show the menu.
the really weird thing is when you have a look at this:
http://planung.connexion.at/menutest/menu.htm
this is the same site as before, but only without the frameset. notice the long scrolling submenu? no horizontal scrolling bar.
i tried to set the width of the submenu items, but the scrollbar always appears when the menu is displayed in a frameset.
does anyone have a clue how to fix this?
i searched through the parameters but could not find anything concerning a thing like this; it also seems (according to my forum search) that this has not occured yet...
edit:
sorry forgot to mention: i had this problem on internet explorer 5.5 only, netscape 7 works well with it...
Poster: Hergio
Dated: Tuesday October 14 2003 - 3:44:50 BST
The only thing I can think of is the menu is incorrectly calculating the width of the window. Its obvious there is more than enough room for your menu, but maybe its seeing something weird if the current document and the current window sizes are different. This may be a bug, but also be forewarned this version is not supported with frames. But I am unsure as to how this example falls into that disclaimer. You are not trying to get the menu to jump frames, just work in one single page that is contained in a frameset. This may be an Andy destined question and could require a bug fix, or just isn't supported and won't be fixed. Stay tuned...... Andy?
Poster: koks
Dated: Tuesday October 14 2003 - 8:05:50 BST
i just want the menu to work inside the main page, it is not supposed to cross over frames.
i hope andy has a clue :)
and it does work with netscape, mind you, so i would say its an internet explorer issue only. maybe some weird css stuff again?...hmm
Poster: Hergio
Dated: Tuesday October 14 2003 - 14:48:02 BST
Well you do have a stylesheet referenced in your page that defines alot of stuff, maybe something is conflicting. Remove the stylesheet reference and see if that clears up the problem.
Poster: koks
Dated: Wednesday October 15 2003 - 8:07:53 BST
i removed it completely but it does not fix the problem...
:(
i guess i should point this out in the bugs section...
Poster: Hergio
Dated: Wednesday October 15 2003 - 21:22:48 BST
I was looking at your menu_data file and I see no references at all to itemwidth in your items to try and force them wider. Try putting itemwidth into the style and then into each individual menu aI.
Poster: koks
Dated: Friday October 17 2003 - 13:50:35 BST
i had an itemwidth in it before and it did not change anything, it always adds a scroller, regardless how large the itemwidth is set.
i tried RC17 as well, it didnt change my problem yet.
i will try around some more, maybe i can work around it in internet explorer somehow. its not that much of a problem, its just a bit annoying, it does not limit the menus functionality.
Poster: Hergio
Dated: Friday October 17 2003 - 16:16:35 BST
I totally agree. This doesnt sound like to big of a problem to fix, we just need to figure out whats causing it. If you could, on your site that uses the menu, put itemwidth back in? I'd like to view it and then I'll probably pull it down to my dev server and play with it some more.