Jump to content

Drop Down Menus??

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
7 replies to this topic

#1
bbqroast

bbqroast

    Codecall Addict

  • Members
  • PipPipPipPipPipPipPip
  • 554 posts
In nearly all my sites i have hit a problem:
Not enough menu space...
Now i have a solution which is dropdown menus.
If you want to see what i mean click on "tutorials" in the (smaller) codecall menu bar (above).
This might be a JAVASCRIPT question but i have heard of it being done in php...
Thanks in advance.
-BBQ
NOTE: I have googled about this for a year so don't just say "google it, this post can be closed now".
Please, write clearly with proper structure. Double spacing makes the text feel un-jointed, Capitalizing Every Word Means People Stop Before Every Word Sub-Consciously Which Is A Pain In The Backside, and use code tags! (The right most styling box).

#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
Menus don't require JavaScript, they can be done with pure HTML+CSS. That said, I'm not clear on what your question is.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#3
Guest_johnny.dacu_*

Guest_johnny.dacu_*
  • Guests

WingedPanther said:

Menus don't require JavaScript, they can be done with pure HTML+CSS. That said, I'm not clear on what your question is.
If you want to target IE6 users too then isn't other solution than JavaScript. This because all dropdown menu techniques involve :hover selector on non links like list elements.

#4
jackolantern

jackolantern

    Learning Programmer

  • Members
  • PipPipPip
  • 47 posts
You also get much more control in Javascript than CSS Menus. CSS Menus are much easier to make, but Javascript can make better ones that slide out and in, fade into view, have as many levels as you like, etc. But if you want to go the Javascript route, you can cut a crapload of time out from learning Javascript if you use a library like jQuery. You can make slide-out menus in just a handful of lines of code, and there are tons of tutorials online.

#5
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts

johnny.dacu said:

If you want to target IE6 users too then isn't other solution than JavaScript. This because all dropdown menu techniques involve :hover selector on non links like list elements.
Actually, I built a pure HTML/CSS dropdown menu that works in IE6.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#6
John

John

    Writes binary right handed and hex left handed

  • Moderators
  • 6,321 posts
The two phrases you may want to Google are "superfish menu" and "suckerfish menu"

#7
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
I've looked at both of them.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#8
bbqroast

bbqroast

    Codecall Addict

  • Members
  • PipPipPipPipPipPipPip
  • 554 posts

Quote

The two phrases you may want to Google are "superfish menu" and "suckerfish menu"
I'll look...
I have found some code that uses tables, CSS and Javascript. I'm redisigning my site soon so i'll implement them then.
Please, write clearly with proper structure. Double spacing makes the text feel un-jointed, Capitalizing Every Word Means People Stop Before Every Word Sub-Consciously Which Is A Pain In The Backside, and use code tags! (The right most styling box).