Web Analytics Made Easy -
StatCounter Need help creating a multi-column drop down menu - CodingForum


No announcement yet.

Need help creating a multi-column drop down menu

  • Filter
  • Time
  • Show
Clear All
new posts

  • 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.

  • #2
    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 -
    <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>
    <a href="#">.: Categories</a>
    <a href="#" style="text-align: center;">More &gt;&gt;</a>
    <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>
    <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 a DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad


    • #3
      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.