Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 04-11-2009, 07:11 PM   PM User | #1
Zer0.v.II
New to the CF scene

 
Join Date: Apr 2009
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts
Zer0.v.II is an unknown quantity at this point
Need help creating a multi-column drop down menu

I have a drop down menu on the following blog: http://digitalmeltd0wntest2.blogspot.com It uses CSS, unordered lists, and javascript. I have made rather extensive modifications to the original template in order to make it work for Opera, IE, and Firefox. However, I'm unhappy with the way the categories section of the menu displays. I would like to modify the current menu so that when you mouseove "categories" it shows all the categories I have listed at the same time, rather than having to click "more" on the first child menu. I know a bit of CSS, but not enough to modify my current menu to make these changes, and maintain the appearance it currently has. If possible I would like for this menu to work with all of the major browsers also, including old versions of internet explorer. If anyone could help me with this I would be very greatful. Thanks in advance.
Zer0.v.II is offline   Reply With Quote
Old 04-11-2009, 08:12 PM   PM User | #2
Excavator
Master Coder


 
Excavator's Avatar
 
Join Date: Dec 2006
Location: Alaska
Posts: 9,410
Thanks: 22
Thanked 1,765 Times in 1,749 Posts
Excavator has a spectacular aura aboutExcavator has a spectacular aura aboutExcavator has a spectacular aura about
Hello Zer0.v.II,
I thought the More>> thing was a good idea.
As it is now, the Categories is already longer than the browser window is tall even with my larger screens. The only way to get to the bottom links is the scrollwheel on the mouse.
If you're viewer doesn't have a scrollwheel, they are not going to see the lower links.
Instead of consolidating those into one long dropdown, I would look at breaking it down even further...

Validator doesn't like your site at all - 2,370 errors A lot of those errors are going to affect how cross-browser compatable your site is.
You may want to consider a more lenient DocType, maybe HTML 4.01 Transitional?

To consolidate them all the way you want see the bits I commented out, highlighted in red -
Code:
<li><a href="http://www.blogger.com/comment.g?blogID=7267633983087027579&amp;postID=8396405518774301228">Submit Your Blog</a></li>
<li><a href="http://music-bloggers.blogspot.com/2007/11/report-dead-links-here.html">Report A Link</a></li>
<li><a href="http://music-bloggers.blogspot.com/2008/01/show-your-support.html">Show Your Support</a></li>
<li><a href="http://music-bloggers.blogspot.com/search/label/Featured%20Blogs">Featured Blogs</a></li>
<li><a href="http://music-bloggers.blogspot.com/#recent">Recently Added Blogs</a></li>
</ul>
</li>
<li>
<a href="#">.: Categories</a>
<ul>
<!--<li>
<a href="#" style="text-align: center;">More &gt;&gt;</a>
<ul>-->
<li><a href="http://digitalmeltd0wntest2.blogspot.com/#pop">New Wave</a></li>
<li><a href="http://digitalmeltd0wntest2.blogspot.com/#industrial">Noise Rock</a></li>
<li><a href="http://digitalmeltd0wntest2.blogspot.com/#mixes">Podcasts/Mixes</a></li>
<li><a href="http://digitalmeltd0wntest2.blogspot.com/#pop">Pop/Power Pop</a></li>
<li><a href="http://digitalmeltd0wntest2.blogspot.com/#pop">Post-Punk</a></li>
<li><a href="http://digitalmeltd0wntest2.blogspot.com/#prog">Progressive</a></li>
<li><a href="http://digitalmeltd0wntest2.blogspot.com/#psych">Psychedelic</a></li>
<li><a href="http://digitalmeltd0wntest2.blogspot.com/#punk">Punk/Hardcore</a></li>
<li><a href="http://digitalmeltd0wntest2.blogspot.com/#reggae">Reggae/Dub</a></li>
<li><a href="http://digitalmeltd0wntest2.blogspot.com/#rock">Rock (General)</a></li>
<li><a href="http://digitalmeltd0wntest2.blogspot.com/#country">Rockabilly</a></li>
<li><a href="http://digitalmeltd0wntest2.blogspot.com/#soul">Soul</a></li>
<li><a href="http://digitalmeltd0wntest2.blogspot.com/#soundtracks">Soundtracks</a></li>
<li><a href="http://digitalmeltd0wntest2.blogspot.com/#specialty">Specialty</a></li>
<li><a href="http://digitalmeltd0wntest2.blogspot.com/#surf">Surf</a></li>
<li><a href="http://digitalmeltd0wntest2.blogspot.com/#techno">Techno/House/Trance</a></li>
<li><a href="http://digitalmeltd0wntest2.blogspot.com/#triphop">Trip-Hop/Acid Jazz</a></li>
<li><a href="http://digitalmeltd0wntest2.blogspot.com/#various">Various/Eclectic</a></li>
<li><a href="http://digitalmeltd0wntest2.blogspot.com/#world">World Music</a></li>
<!--</ul>
</li>-->
<li><a href="http://digitalmeltd0wntest2.blogspot.com/#60s70s">60s/70s Rock</a></li>
<li><a href="http://digitalmeltd0wntest2.blogspot.com/#aggregators">Aggregators</a></li>
<li><a href="http://digitalmeltd0wntest2.blogspot.com/#experimental">Avant-Garde</a></li>
<li><a href="http://digitalmeltd0wntest2.blogspot.com/#aggregators">Blogrolls/Directories</a></li>
<li><a href="http://digitalmeltd0wntest2.blogspot.com/#blues">Blues</a></li>
<li><a href="http://digitalmeltd0wntest2.blogspot.com/#country">Bluegrass</a></li>
<li><a href="http://digitalmeltd0wntest2.blogspot.com/#bootlegs">Bootlegs</a></li>
<li><a href="http://digitalmeltd0wntest2.blogs
__________________
Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad
Excavator is offline   Reply With Quote
Old 04-12-2009, 03:35 AM   PM User | #3
Zer0.v.II
New to the CF scene

 
Join Date: Apr 2009
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts
Zer0.v.II is an unknown quantity at this point
Thank you for replying Excavator. I suppose I didn't explain what I'm trying to do accurately enough. I don't want there to be any submenus when one mouses over the "Categories" link. I want all of the categories to display in multiple columns.

I found an example page which should clear up any confusion. Take a look at the menu here: http://www.idahostatesman.com/ I want the categories section of my menu to function similar to the example menu. I want to display all of my categories in 3-4 columns, yet I need to keep the style and color scheme of my current menu. Thank you once again and I apologize for any confusion I caused.
Zer0.v.II is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

Forum Jump


All times are GMT +1. The time now is 05:49 AM.


Advertisement
Log in to turn off these ads.