473,320 Members | 1,831 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

menu behavior

Hi

I want to make a menu with dropdown submenus.
I know some ways to do it (JS, php ...) but I wonder if there's one using
CSS. ???

Ex:

item1
subitem1.1
subitem1.2
item2
subitem2.1
subitem2.2
......
Like directory listings.

Thanks
Sep 20 '05 #1
15 1654
Bill wrote:
I want to make a menu with dropdown submenus.
Why? As far as usability goes, its far nicer (in almost every case) to just
give the user an expanded menu to start with.
I know some ways to do it (JS, php ...) but I wonder if there's one using
CSS.


Yes ... if you don't mind the menus vanishing the instant the mouse drifts
away from them and not working in Internet Explorer.

If you must have expanding menus - stick to JavaScript.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Sep 20 '05 #2
Thanks
If you must have expanding menus - stick to JavaScript.

Sep 20 '05 #3
On Tue, 20 Sep 2005 14:01:34 -0400, Bill wrote:
Hi

I want to make a menu with dropdown submenus.
I know some ways to do it (JS, php ...) but I wonder if there's one using
CSS. ???

Ex:

item1
subitem1.1
subitem1.2
item2
subitem2.1
subitem2.2
.....

Like directory listings.

Thanks


Yes http://www.positioniseverything.net/css-dropdowns.html and it works in
IE FF and Opera, at least the versions I have on my machine.
Sep 21 '05 #4
You can also check out son-of-suckerfish
(http://www.htmldog.com/articles/suckerfish/dropdowns/) who has taken
the idea that Rincewind mentioned a little further and cleans it up a
bit.

Sep 21 '05 #5
On Wed, 21 Sep 2005 12:12:22 GMT in
comp.infosystems.www.authoring.stylesheets, Rincewind favored us
with...
On Tue, 20 Sep 2005 14:01:34 -0400, Bill wrote:
I want to make a menu with dropdown submenus.

Like directory listings.


Yes http://www.positioniseverything.net/css-dropdowns.html and it works in
IE FF and Opera, at least the versions I have on my machine.


It looks very cool, but the problem is that it's usually hard to
use such a thing because you have to guess which main category
contains the sub-category you want.

--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2.1 spec: http://www.w3.org/TR/CSS21/
validator: http://jigsaw.w3.org/css-validator/
Why We Won't Help You:

http://diveintomark.org/archives/200..._wont_help_you
Sep 21 '05 #6
On 21 Sep 2005 07:02:35 -0700 in
comp.infosystems.www.authoring.stylesheets, ss******@gmail.com
favored us with...
You can also check out son-of-suckerfish
(http://www.htmldog.com/articles/suckerfish/dropdowns/) who has taken
the idea that Rincewind mentioned a little further and cleans it up a
bit.


Enlighten me: how does adding Javascript constitute "cleaning it
up"? :-)

--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2.1 spec: http://www.w3.org/TR/CSS21/
validator: http://jigsaw.w3.org/css-validator/
Why We Won't Help You:

http://diveintomark.org/archives/200..._wont_help_you
Sep 21 '05 #7
On Wed, 21 Sep 2005 11:06:43 -0400, Stan Brown wrote:
On Wed, 21 Sep 2005 12:12:22 GMT in
comp.infosystems.www.authoring.stylesheets, Rincewind favored us
with...
On Tue, 20 Sep 2005 14:01:34 -0400, Bill wrote:
I want to make a menu with dropdown submenus.

Like directory listings.


Yes http://www.positioniseverything.net/css-dropdowns.html and it works in
IE FF and Opera, at least the versions I have on my machine.


It looks very cool, but the problem is that it's usually hard to
use such a thing because you have to guess which main category
contains the sub-category you want.


What?

So if you had 2 headings, 1 says cars, 1 says houses, you would have to
*guess* where to look for "Ford"?
Sep 21 '05 #8
On 21 Sep 2005 07:02:35 -0700, ss******@gmail.com wrote:
You can also check out son-of-suckerfish
(http://www.htmldog.com/articles/suckerfish/dropdowns/) who has taken
the idea that Rincewind mentioned a little further and cleans it up a
bit.


yes but your stuffed if Javascript is off :-)) whereas my recommendation
uses nothing but CSS.
Sep 21 '05 #9
In article <14*****************************@40tude.net>,
Rincewind <th***********@hotmail.com> wrote:
On Wed, 21 Sep 2005 11:06:43 -0400, Stan Brown wrote:
On Wed, 21 Sep 2005 12:12:22 GMT in
comp.infosystems.www.authoring.stylesheets, Rincewind favored us
with...
On Tue, 20 Sep 2005 14:01:34 -0400, Bill wrote:
I want to make a menu with dropdown submenus.

Like directory listings.

Yes http://www.positioniseverything.net/css-dropdowns.html and it works in
IE FF and Opera, at least the versions I have on my machine.


It looks very cool, but the problem is that it's usually hard to
use such a thing because you have to guess which main category
contains the sub-category you want.


What?

So if you had 2 headings, 1 says cars, 1 says houses, you would have to
*guess* where to look for "Ford"?


An awful lot of pages use some sort of Marketingspeak for their
catagory labels, which makes it really hard to figure out where
the information one is looking for is hidden.

--
= Eric Bustad, Norwegian bachelor programmer
Sep 23 '05 #10
On Wed, 21 Sep 2005 20:59:50 GMT in
comp.infosystems.www.authoring.stylesheets, Rincewind favored us
with...
On Wed, 21 Sep 2005 11:06:43 -0400, Stan Brown wrote:
It looks very cool, but the problem is that it's usually hard to
use such a thing because you have to guess which main category
contains the sub-category you want.


What?

So if you had 2 headings, 1 says cars, 1 says houses, you would have to
*guess* where to look for "Ford"?


Did you miss that word "usually"? Most real-life menus that I've
seen are MUCH more ambiguously structured.

--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2.1 spec: http://www.w3.org/TR/CSS21/
validator: http://jigsaw.w3.org/css-validator/
Why We Won't Help You:

http://diveintomark.org/archives/200..._wont_help_you
Sep 23 '05 #11
On Fri, 23 Sep 2005 11:42:56 -0400, Stan Brown wrote:
On Wed, 21 Sep 2005 20:59:50 GMT in
comp.infosystems.www.authoring.stylesheets, Rincewind favored us
with...
On Wed, 21 Sep 2005 11:06:43 -0400, Stan Brown wrote:
It looks very cool, but the problem is that it's usually hard to
use such a thing because you have to guess which main category
contains the sub-category you want.


What?

So if you had 2 headings, 1 says cars, 1 says houses, you would have to
*guess* where to look for "Ford"?


Did you miss that word "usually"? Most real-life menus that I've
seen are MUCH more ambiguously structured.


Then your "usually" looking at crap sites, I can't remember the last time I
looked at a site where I had to guess where I was going, and if I did I
wouldn't be going back, after a polite but forthright e-mail had been sent
them.
Sep 23 '05 #12
On 23 Sep 2005 12:13:49 GMT, Eric Kenneth Bustad wrote:
In article <14*****************************@40tude.net>,
Rincewind <th***********@hotmail.com> wrote:
On Wed, 21 Sep 2005 11:06:43 -0400, Stan Brown wrote:
On Wed, 21 Sep 2005 12:12:22 GMT in
comp.infosystems.www.authoring.stylesheets, Rincewind favored us
with...
On Tue, 20 Sep 2005 14:01:34 -0400, Bill wrote:
> I want to make a menu with dropdown submenus.
>
> Like directory listings.

Yes http://www.positioniseverything.net/css-dropdowns.html and it works in
IE FF and Opera, at least the versions I have on my machine.

It looks very cool, but the problem is that it's usually hard to
use such a thing because you have to guess which main category
contains the sub-category you want.


What?

So if you had 2 headings, 1 says cars, 1 says houses, you would have to
*guess* where to look for "Ford"?


An awful lot of pages use some sort of Marketingspeak for their
catagory labels, which makes it really hard to figure out where
the information one is looking for is hidden.


In which case tell them and don't use the site. But I haven't yet come
across a site that I have had to guess at the navigation.
Sep 23 '05 #13
Rincewind wrote:
Then your "usually" looking at crap sites,


www.greenweld.co.uk

They sell illuminated magnifiers (and they used to do good ones too).
Now try and find them!

Sep 23 '05 #14
On 23 Sep 2005 10:10:33 -0700, di*****@codesmiths.com wrote:
Rincewind wrote:
Then your "usually" looking at crap sites,
www.greenweld.co.uk

As I said "looking at crap sites" This one is all javascript and fails on
so many levels it's laughable.
They sell illuminated magnifiers (and they used to do good ones too).
Now try and find them!


They do have a search box! ;-))
Sep 23 '05 #15
Stan Brown wrote:
On Wed, 21 Sep 2005 12:12:22 GMT in
comp.infosystems.www.authoring.stylesheets, Rincewind favored us
with...

Yes http://www.positioniseverything.net/css-dropdowns.html and it works in
IE FF and Opera, at least the versions I have on my machine.


It looks very cool, but the problem is that it's usually hard to
use such a thing because you have to guess which main category
contains the sub-category you want.


These types of menus are also not as accessible as they think they are.
Just try navigating by keyboard, tabbing in particular. Then, disable
CSS and try wading through that enormous list of links on every bloody
page. ish :(

--
Reply email address is a bottomless spam bucket.
Please reply to the group so everyone can share.
Sep 24 '05 #16

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Adrienne | last post by:
http://www.intraproducts.com/beta/infinicall/index.asp has a drop down menu on Investor Relations. The markup and CSS are both valid, and most of the time, the menu drops down correctly. However,...
0
by: thulsey | last post by:
Hi all, I've got some strange behavior happening in Firefox and Safari (Khtml and Gecko) that displays *almost* fine in IE6.0 (still trying to get pixels to line up, anal anal anal...) To...
7
by: cefrancke | last post by:
I cant seem to find a straight answer on the following. I want to programmatically hide all menus except a basic custom report menu (during report preview) and right click pop-up A-Z sorting on...
7
by: Chuck Hartman | last post by:
I have a Windows service that requests web pages from a site using an HttpWebRequest object. When I try to request a page from an ASP.NET 2 site, I get a WebException with message "The remote...
3
by: jweinberg1975 | last post by:
I would like for users to be able to select from a small number of options that come from a little drop down menu which then closes. .....
7
by: GopherGold | last post by:
I have a site that uses a combination of Web.Sitemap and a SqlSiteMapProvider that I created (thanks to Jeff Proisse @ MSDN). One node of the Web.Sitemap is the same as the root node from the...
5
by: AG | last post by:
I realize that the obvious suggestion would be malware, but my definitions are up to date and I have already scanned for it. I have also tried disabling all IE add-ons. I just rebuilt and...
4
by: jmartmem | last post by:
Greetings, I have an ASP page containing a Record Insertion Form with a number of fields (mostly text fields and list/menu fields) linked to an Access database. I've created an onsubmit behavior...
2
by: DragonMaster | last post by:
Hi all, I am using IE6, and have a problem with css (nearly) only flyout menus. In firefox, it works fine, but in IE6 with the csshover.htc behaviour, I am finding that the 2nd level menu items...
2
by: fjohnson | last post by:
Hello, I have a CSS Horizontal dropdown menu and the drop down menu is pushed to the right instead of directly underneath the heading. I am completely new to CSS and I do not yet know exactly what...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.