Strange problem with frames and submenu width

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
koks
Advanced
Advanced
Posts: 10
Joined: Fri Oct 03, 2003 7:42 am
Location: Austria

Strange problem with frames and submenu width

Post by koks »

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...
User avatar
Hergio
Milonic God
Milonic God
Posts: 1123
Joined: Wed Jun 12, 2002 7:46 pm
Location: Rochester, NY

Post by Hergio »

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?
Dave Hergert
Software Engineer
"Helping to make the menu better, one :?: at a time."
koks
Advanced
Advanced
Posts: 10
Joined: Fri Oct 03, 2003 7:42 am
Location: Austria

Post by koks »

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
User avatar
Hergio
Milonic God
Milonic God
Posts: 1123
Joined: Wed Jun 12, 2002 7:46 pm
Location: Rochester, NY

Post by Hergio »

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.
Dave Hergert
Software Engineer
"Helping to make the menu better, one :?: at a time."
koks
Advanced
Advanced
Posts: 10
Joined: Fri Oct 03, 2003 7:42 am
Location: Austria

Post by koks »

i removed it completely but it does not fix the problem...
:(
i guess i should point this out in the bugs section...
User avatar
Hergio
Milonic God
Milonic God
Posts: 1123
Joined: Wed Jun 12, 2002 7:46 pm
Location: Rochester, NY

Post by Hergio »

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.
Dave Hergert
Software Engineer
"Helping to make the menu better, one :?: at a time."
koks
Advanced
Advanced
Posts: 10
Joined: Fri Oct 03, 2003 7:42 am
Location: Austria

Post by koks »

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.
User avatar
Hergio
Milonic God
Milonic God
Posts: 1123
Joined: Wed Jun 12, 2002 7:46 pm
Location: Rochester, NY

Post by Hergio »

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.
Dave Hergert
Software Engineer
"Helping to make the menu better, one :?: at a time."
koks
Advanced
Advanced
Posts: 10
Joined: Fri Oct 03, 2003 7:42 am
Location: Austria

Post by koks »

i'll do that and let you know..
so far no success getting it fixed with css tweaking/html tryarounds btw...
Post Reply