Closed (duplicate)
Project:
Acquia Marina
Version:
6.x-1.5
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
26 Feb 2009 at 22:09 UTC
Updated:
1 Apr 2009 at 03:48 UTC
If you hover over the right most menu item of the Primary links menu and 'Expanded' is checked off for it, the drop down menu will stretch the page horizontally and a horizontal scrollbar will appear where there was none before.
With HTML select elements, the browser generally opens it in whatever direction won't stretch the page. ie. if you open the select element when it's at the top of the screen, it'll open it down and if you open it when it's towards the bottom of the screen, it'll open it up. It seems like this theme could do something similar - open the menu "left", as it were, if opening it "right" would stretch the page.
If that doesn't make much sense I can post screenshots.
Comments
Comment #1
jwolf commentedYes please
Comment #2
zelnaga commentedThe select element "opening up":
http://img26.imageshack.us/my.php?image=selectup.gif
The select element "opening down":
http://img26.imageshack.us/my.php?image=selectdown.gif
"Opening down" is the default behavior but when that default behavior would result in the dropdown menu going off screen it instead "opens up".
Similarly, this themes menus could "open right" save for in those instances where "opening right" would result in the dropdown menu going off screen, at which point, it could "open left".
Comment #3
zelnaga commentedComment #4
jwolf commentedI have no idea what you're talking about. I've read your posts about 5 times now and I can't figure out what the problem is. Is there a problem w/ the primary links or form select?
Your screenshots aren't of the Acquia Marina theme.
Comment #5
jwolf commentedComment #6
zelnaga commentedThe sreenshots were intended to augment the second paragraph of my original post - the bit where I recommended that this theme be updated to behave in a manner similar to how select elements behave. That was the paragraph I thought might be the toughest to understand - the first paragraph, I thought, was fairly straight forward.
Never-the-less, here's an image to augment the first paragraph:
http://img5.imageshack.us/my.php?image=acquiaover.gif
Note the scroll bar at the bottom? Note how the "page stretching example" item from the "test" menu can't be completely seen? That's because "the drop down menu will stretch the page horizontally and a horizontal scrollbar will appear where there was none before".
Comment #7
zelnaga commentedI'm setting this back to a bug report. If you don't understand what I'm saying than it's rather presumptuous of you to just up and assume it's a support request.
Comment #8
zelnaga commentedComment #9
jwolf commentedI understand that your reporting two issues w/in one and confusing the main issue at hand.
In regards to the main topic
I don't believe this is a bug and therefore my presumptuous action of changing the category. However, if you have any solutions to offer I'd be happy to review your patch and apply it to the next release if appropriate.
Comment #10
zelnaga commentedno - i am only reporting one issue. in my original post, my first paragraph describes the issue. the second paragraph presents a possible solution.
why wouldn't you think that's a bug? the page stretching makes the last menu item very difficult to use. indeed, if there's a sub sub menu, you might not even know it because the vertical scrollbar would hide it. never mind the fact that having to hit the Left directional button to view the contents of the menu is just plain annoying.
what's next? maybe black on black text will be feature instead of a bug?
Comment #11
jwolf commentedOK. Thanks for reporting this bug.
Please forgive my ignorance and my inability of making a connection between an unordered list and a HTML select element.
I will look into your solution of applying a HTML select element to the unordered list CSS drop down menu.
Comment #12
zelnaga commentedi'm not suggesting that an HTML select element be applied to the unordered list CSS drop down menu - what I'm suggesting is that, through a combination of javascript and css, the particular functionality of the select element that I discussed (ie. it's opening in a direction that doesn't stretch the page or result in a part of the select element being hidden) be emulated.
what's next? if someone says "the united states ought to implement nationalized health care like the united kingdom" are you going to respond with "how do you propose we combine the two countries? countries are not playdough". i mean, seriously - that you've compared two things does not mean you think those two things ought to be somehow merged into one.
Comment #13
jwolf commentedhttp://drupal.org/node/416614