SitePoint Sponsor |
|
User Tag List
Results 1 to 2 of 2
Thread: Onclick dropdown menu
-
Jul 17, 2006, 13:58 #1
- Join Date
- Mar 2005
- Location
- Toronto
- Posts
- 378
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Onclick dropdown menu
Hi, I am desperately in need of some javascript code that can achieve the above effect, basically, what I want is.
---------------- -----------------
|--onclick box--| |-- onclick box--|
---------------- -----------------
|----item1-----|
---------------- ------------------
|----item2-----| | next onclick box|
---------------- -------------------
|----item3-----|
----------------
-----------------
|next onclick box|
-----------------
The default would be like the right side, with on onclick box above another. When the onclick box is clicked, a submenu would appear underneath and the next onclick box would be pushed down like the left. And when you click on the onclick box again, the submenu disappears and the menu goes back to the right side state.
What I am thinking is if there is a javascript code that does this, or could someone provide an example or tutorial please, thanks!
-
Jul 17, 2006, 14:30 #2
- Join Date
- Dec 2004
- Location
- uk
- Posts
- 41
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Not sure if it's exactly what you're after but there's a very neat drop down nav located here... http://www.pmob.co.uk/temp/drop-down-expand2.htm
Bookmarks