SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Enthusiast
    Join Date
    Oct 2003
    Location
    London
    Posts
    39
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Unhappy Help Needed with CSS & JScript

    I'm trying to add expandable sub menus to the following code but not sure how to add it. I have created the nav bar in CSS but know need to add the finishing touches.

    Under 'Team' I would like it when the mouse hovers over 'Team' the menu expands to reveal other links in the same format. Can somebody let me knwo what JScript code I should be using and where it should go.

    Sorry!

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <title>Untitled Document</title>
    <link rel="stylesheet" href="nav.css"/>
    </head>

    <body>
    <ul id="mainnav">
    <li><a href="categories.htm">Home Page</a></li>
    <li><a href="categories.htm">The Team</a></li>
    <li><a href="categories.htm">Results</a></li>
    <li><a href="categories.htm">Locations</a></li>
    <li><a href="categories.htm">Pictures/Fun</a></li>
    <li><a href="categories.htm">Message Board</a></li>
    <li><a href="categories.htm">Links</a></li>
    </ul>
    </body>
    </html>
    Help, what do I do next

  2. #2
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,385
    Mentioned
    180 Post(s)
    Tagged
    6 Thread(s)
    Hi,

    Have a look here :

    http://www.alistapart.com/articles/dropdowns/

    That might be some help.

    Paul

  3. #3
    SitePoint Enthusiast
    Join Date
    Oct 2003
    Location
    London
    Posts
    39
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Being really lazy here can someone write the code for me!
    Help, what do I do next

  4. #4
    ☆★☆★ silver trophy vgarcia's Avatar
    Join Date
    Jan 2002
    Location
    in transition
    Posts
    21,235
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by Flappy Chicken
    Being really lazy here can someone write the code for me!
    You're probably not going to get any help then. The code is written in the article Paul linked to.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •