SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Enthusiast krazyvan05's Avatar
    Join Date
    May 2004
    Location
    Vancouver
    Posts
    26
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    drop down menu with page jumps

    i was wondering if there is a drop down menu like that. i have been searching around a few sites but just can't find it.

  2. #2
    SitePoint Addict
    Join Date
    May 2004
    Location
    .
    Posts
    227
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ilya Devyatovsky
    ThinkHost, Inc.
    Wind/solar powered web hosting - 6 months free!

  3. #3
    SitePoint Member
    Join Date
    Jan 2004
    Location
    London
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Drop down menus are annoying imo. I dont like them at all!

  4. #4
    Made with a Mac! philm's Avatar
    Join Date
    Sep 2001
    Location
    Portsmouth, UK
    Posts
    735
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Don't think he was asking what you thought about them anyhow?!?!?

    Anyway back on topic and straight from Dreamweaver for ya....

    Paste this code into the head of your page:-

    Code:
    <script language="JavaScript" type="text/JavaScript">
    <!--
    function MM_jumpMenu(targ,selObj,restore){ //v3.0
      eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
      if (restore) selObj.selectedIndex=0;
    }
    //-->
    </script>
    Paste this code where you want your menu:-
    Code:
    <form name="jumpmenu" id="jumpmenu" method="post" action="">
    <select name="redirect" onchange="MM_jumpMenu('parent',this,0)">
        <option>Select >></option>
        <option value="/page1.php">Page1</option>
        <option value="/page2.php">Page2</option>
        <option value="/page3.php">Page3</option>
        <option value="/page4.php">Page4</option>
        <option value="/page5.php">Page5</option>
        </select></form>


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
  •