Re: Menu is not overlapping content area and width of menu is not accomodating width of its content
- From: dorayme <doraymeRidThis@xxxxxxxxxxxxxxx>
- Date: Tue, 16 Oct 2007 11:28:59 +1000
In article
<doraymeRidThis-9FF58C.09561716102007@xxxxxxxxxxxxxxxxxxxxxxxx>,
dorayme <doraymeRidThis@xxxxxxxxxxxxxxx> wrote:
I have put up at
<http://netweaver.com.au/dropdownMenus/dropdown.html>
an example of a dropdown menu. It may help you to see how to do
it. The javascript is just for IE.
It is a styled and slightly varied adaptation from a link similar
to your above. There is a link on it to an idea for the submenus
to appear horizontally and this works fine in circumscribed
contexts. I have not yet begun to think how to adapt this second
idea to show itself properly in Internet Explorer. It needs
someone handier with javascript...
Just one thing more, to make things look nicer in IE, one needs
to use slightly different styling for the top margin of the
content, perhaps one or two other things. Like everyoe else in
this game, I am pissed off with IE and do as little as i can for
it, but am forced - as is any hostage.
Since realised that it is not the javascript that needs to be
altered for IE but the css needs adding to, specifically that
#nav li:hover ul, #nav li.sfhover ul
needs adding to and styling. Well, at least it worked when I
tried it on IE 6 after adding a bit of styling to the the css,
mainly by giving a generous width so that the sub-menu items do
not wrap. Anyway, OP can play about.
I have since updated the above link to reflect this.
[I knew there were reasons that dropdown menus piss me off! In
addition, with a drop down menu system you buy a whole lot more
thinking to do. What to make the non-sub items go to? You
probably need to duplicate or backup the sub-items on the page
the main item goes to. In all of this, you need not to confuse
folks. If an author goes for drop downs, I suspect they thereby
become *less careful* in how to name the links, how to ration
them down to simple necessities...thethinking maybe going "well,
they can see what this link means because there are all the sub
items to give it sense")
--
dorayme
.
- Follow-Ups:
- References:
- Menu is not overlapping content area and width of menu is not accomodating width of its content
- From: Terry
- Re: Menu is not overlapping content area and width of menu is not accomodating width of its content
- From: Ben C
- Re: Menu is not overlapping content area and width of menu is not accomodating width of its content
- From: Terry
- Re: Menu is not overlapping content area and width of menu is not accomodating width of its content
- From: dorayme
- Menu is not overlapping content area and width of menu is not accomodating width of its content
- Prev by Date: Re: Fonts Appear Larger in IE7
- Next by Date: Converting from tables to CSS
- Previous by thread: Re: Menu is not overlapping content area and width of menu is not accomodating width of its content
- Next by thread: Re: Menu is not overlapping content area and width of menu is not accomodating width of its content
- Index(es):
Relevant Pages
|