Forum Moderators: open

Message Too Old, No Replies

DHTML Hier Menus

What is the easiest way...

         

Newnewbie

4:02 pm on Oct 23, 2001 (gmt 0)

10+ Year Member



What is the easiest way to do cross-browser DHTML Hier Menus? I tried this awhile back, and got so discouraged, I just decided not to do it...

I like the one on the [novell.com...] site. I tried to figure out what is going on, and it looks like a TON of javascript that I can't make heads or tells out of.

Thanks for your help!

tedster

5:46 pm on Oct 23, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The "easiest" way? You don't ask for little things! ;-)

In my opinion, the key is good sniffing. In this case, (my opinion only) it's better to sniff for the key objects that your code will use, rather than sniff for the user agent and assume that will classify each situation properly.

That being said, there's still nothing easy about it at all. I decided not to use these beautiful creatures for the present, because the complications are more than I want to cope with. I don't like the idea of anyone not getting navigation because of some browser incompatibility I didn't consider.

That puts me pretty much out of the loop on this. So how about it, all you DHTML-menu jockeys? What works for you?

Xoc

9:25 pm on Oct 23, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I just downloaded and looked at the one on the Microsoft web site. 47 pages of JavaScript that gets downloaded the first time anyone hits the Microsoft home page! I find that amazing.

knighty

2:13 pm on Oct 24, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



by far the best and easiest way to create DHTML menus is to use layers.

One layer to hold the content another one unhide that layer and another layer surrounding that one to hide the menu.

This will work in ALL v4+ browsers :)

Newnewbie

3:20 pm on Oct 24, 2001 (gmt 0)

10+ Year Member



Knighty,
That does sound easy... Have you got any code?

;-)

joshie76

9:29 am on Oct 25, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You should definitely be able to find something suitable on here: SiteNavigation.net [sitenavigation.net].

knighty

3:12 pm on Oct 25, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



had a look at the novell.com site. (nice site)

You can easily do that tpe of stuff with layers. Head over to www.projectseven.com if you have dreamweaver as they have extensions that you can use to build dynamic menus.