[JavaScript] Drop-Down Menus

Results 1 to 4 of 4
  1. #1
    Canadian Mike is offline
    MemberRank
    Dec 2007 Join Date
    Toronto, ONLocation
    2,747Posts

    [JavaScript] Drop-Down Menus

    I've posted this before, but now I have examples, so maybe someone can help me! :P

    Okay, so, on my site http://graphicalmelodies.com/, I want it so when you hover a link, a drop-down menu appears with more links.

    Here is an example, from the Runescape website.



    So, when you hover links, more links come down that you can click on.

    Here's my navigation source code:

    Code:
    <div id="menu">
     <ul>
      <li><a href="index.php" accesskey="1" title="">Homepage</a></li>
      <li><a href="graphics.php" accesskey="2" title="">Photoshop Graphics</a></li>
      <li><a href="vbmods.php" accesskey="3" title="">vBulletin Modifications</a></li>
      <li><a href="tos.php" accesskey="4" title="">Terms of Service</a></li>
      <li><a href="mailto:mikemersereau@hotmail.com" accesskey="5" title="">Contact Us</a></li>
     </ul>
     <hr />
    </div>
    Not a whole lot, eh?

    Well, can someone edit it, so that Photoshop Graphics link and vBulletin Modifications link have drop-down menus? Just make a few example ones, so I can see how to do it, and then edit them to my standards?

    Preview of what I want done is available here.

    Thanks in advance :)


  2. #2
    :-) s-p-n is offline
    DeveloperRank
    Jun 2007 Join Date
    Next DoorLocation
    2,098Posts

    Re: [JavaScript] Drop-Down Menus


  3. #3
    Canadian Mike is offline
    MemberRank
    Dec 2007 Join Date
    Toronto, ONLocation
    2,747Posts

    Re: [JavaScript] Drop-Down Menus

    That doesn't work :s

    All of the links just appear where the other ones were, and the ones that were there get scattered on the page.

    If it's easier, you don't have to hover, they can be clickable and then drop-downs come.

  4. #4
    The Gamma..? EliteGM is offline
    MemberRank
    Jul 2006 Join Date
    NandolandLocation
    4,077Posts

    Re: [JavaScript] Drop-Down Menus

    RuneScape uses overflow.
    In here:
    http://forum.ragezone.com/f364/rel-r...s-skin-471917/

    In there there is a css file, images and index.php all ripped from RS by me.
    Just puzzle your way through the css and index.php shoudln't be too hard.

    No JS is comming to it!



Advertisement