Horizontal drop down list

This is a discussion on "Horizontal drop down list" within the Web Page Design section. This forum, and the thread "Horizontal drop down list are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Closed Thread
 
LinkBack (1) Thread Tools
  1 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old Oct 20th, 2004, 23:54
New Member
Join Date: Sep 2004
Location: Croatia
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Horizontal drop down list

I giving up on searching the web for it, so this is one of my last stops for help. Anyone know of a working CSS markup for a double horizonta l drop down menu? I am looking to build something like www.macromedia.com has for main navigation, except I want it in CSS, not Flash.

For the lazy clickers; I want to have a main horizontal list, that on hover shows another horizontal list. I have been working on it for a few days now, and need help, inspiration as I am stuck.

  #2 (permalink)  
Old Oct 21st, 2004, 18:41
spinal007's Avatar
Moderator
Join Date: Mar 2004
Location: Good Ol'London
Age: 22
Posts: 1,612
Blog Entries: 1
Thanks: 0
Thanked 2 Times in 2 Posts
Send a message via ICQ to spinal007 Send a message via MSN to spinal007 Send a message via Yahoo to spinal007 Send a message via Skype™ to spinal007
<SELECT> controls aren't controlled by the browsers so you can't use onMouseover on the options within the <SELECT> tags. (that's also why <SELECT>'s are always on top of anything and we have to hide them if they're on the way of popup menus)

anyway, the solution for you would be to design (in HTML) something that LOOKS like a <SELECT> box, then use the onMouseover event.

the following code should get you started...

CSS:
Code: Select all
.SelectBox{ width:130px; border:#CECECE inset 2px; }
.SelectBox A, .SelectBox A:link, .SelectBox A:visited{
 background-color:white; color:black; width:100%; display:block; padding:2px;
}
.SelectBox A:hover{
 background-color:navy; color:white;
}
HTML:
Code: Select all
<DIV class=SelectBox>
 option 1
 option 2
 option 3
 option 4
</DIV>
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
  #3 (permalink)  
Old Oct 21st, 2004, 23:42
New Member
Join Date: Sep 2004
Location: Croatia
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
I am looking for something to show/hide the second row (the one that shows hover); I tryed using a variation of the drop down's fro www.alistapart.com , but no go.
  #4 (permalink)  
Old Oct 22nd, 2004, 04:47
spinal007's Avatar
Moderator
Join Date: Mar 2004
Location: Good Ol'London
Age: 22
Posts: 1,612
Blog Entries: 1
Thanks: 0
Thanked 2 Times in 2 Posts
Send a message via ICQ to spinal007 Send a message via MSN to spinal007 Send a message via Yahoo to spinal007 Send a message via Skype™ to spinal007
there you go:

http://www.pinesandneedles.com/webforumz/menu.htm

notes and explanation with code
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
  #5 (permalink)  
Old Oct 22nd, 2004, 08:29
New Member
Join Date: Sep 2004
Location: Croatia
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Before I forget, thanks a lot for taking the time to help me.

But I noticed several problems. First of all, we are not getting each other. I have the menu you kindly uploaded at home, all done with CSS lists, tweeked and working like a charm.

BTW and FYI, the version you uploaded dosen't work with Opera (7 I think) and Firfox (1, thus Mozilla 5.0).

What I want is:
Option 1 Option 2 Option 3
Option 1.1 Option 1.2 Option 1.3 etc.
  #6 (permalink)  
Old Oct 22nd, 2004, 10:02
New Member
Join Date: Sep 2004
Location: Croatia
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Quick note; 99% sure I have a "By George..." moment. Will test more and post if you (or anyone else) is interested. After quite a while I cought an idea, and noticed a few codes that might have been the problem.
  #7 (permalink)  
Old Oct 22nd, 2004, 15:57
spinal007's Avatar
Moderator
Join Date: Mar 2004
Location: Good Ol'London
Age: 22
Posts: 1,612
Blog Entries: 1
Thanks: 0
Thanked 2 Times in 2 Posts
Send a message via ICQ to spinal007 Send a message via MSN to spinal007 Send a message via Yahoo to spinal007 Send a message via Skype™ to spinal007
*sorry* if I didn't spend anymore time debugging it.
just wanted to give you the idea, os you could finish it off yourself.
seems to have worked so that's all that matters.
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
  #8 (permalink)  
Old Oct 22nd, 2004, 22:35
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
I think the big problem is you're both taking about a different goal. When I first read double horizontal menu I imagined what spinal gave code for. After looking at the Macromedia site as mentioned as the example I saw that it was actually something different.

So, if you hadn't found it during your web seach go look at : http://www.aplus.co.yu/Dots/108/

If that doesn't help then I'll look around for some more.
  #9 (permalink)  
Old Oct 23rd, 2004, 10:25
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
After looking at the Macromedia site I have to agree with Catalyst. His example URL appears to be exactly what you want, Ranko.
As a quick note, it's ridiculously easy to do in Flash, lol. Pretty ironic, really.
Closed Thread

Tags
horizontal, drop, down, list

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

LinkBacks (?)
LinkBack to this Thread: http://www.webforumz.com/web-page-design/809-horizontal-drop-down-list.htm
Posted By For Type Date
flash xml drop down menu horizontal This thread Refback Nov 2nd, 2006 12:13

Similar Threads
Thread Thread Starter Forum Replies Last Post
2 Drop down list - auto select depending on choice from first list ciaranleeper JavaScript Forum 0 Mar 26th, 2008 10:38
[SOLVED] Centering a horizontal list in Firefox masonbarge Web Page Design 6 Nov 19th, 2007 12:43
Horizontal list Krakatoa Web Page Design 4 May 16th, 2006 13:16
CSS Horizontal drop-down menu ??? j4mes_bond25 Web Page Design 2 Apr 6th, 2006 16:10
horizontal drop-down menu da_stimulator JavaScript Forum 2 Nov 4th, 2004 11:16


All times are GMT. The time now is 04:38.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43