Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

drop down menu with links

  • 12-08-2008 3:03pm
    #1
    Registered Users, Registered Users 2 Posts: 788 ✭✭✭


    Is there a simple way to insert links into a drop down menu? I tried inserting them as the option value but to no avail, unless you have to use the full URL with http://etc? I just used 'page.html'


Comments

  • Registered Users, Registered Users 2 Posts: 2,120 ✭✭✭p


    It should be fairly straight-forward, but you really need to throw up a code sample. We're not psychics.


  • Registered Users, Registered Users 2 Posts: 788 ✭✭✭sleepyescapade


    :o
    <SELECT NAME="categories">
    <option value="Choose_a_category">Choose a category</option>
    <option value="live.html">Living Room</option>
    <option value="photo.html"> Photos</option>
    <option value="dining.html">Dining</option>
    <option value="review.html">Review</option>
    </select>
    

    The customer needs to be able to click on an option in the drop down and be directed to that page.


  • Closed Accounts Posts: 975 ✭✭✭squibs


    Think this will work:
    <select onchange="window.location.href=this.options[this.selectedIndex].value">
    <option value="Choose_a_category">Choose a category</option>
    <option value="live.html">Living Room</option>
    <option value="photo.html"> Photos</option>
    <option value="dining.html">Dining</option>
    <option value="review.html">Review</option>
    </select>


  • Registered Users, Registered Users 2 Posts: 788 ✭✭✭sleepyescapade


    squibs wrote: »
    Think this will work:
    <select onchange="window.location.href=this.options[this.selectedIndex].value">
    <option value="Choose_a_category">Choose a category</option>
    <option value="live.html">Living Room</option>
    <option value="photo.html"> Photos</option>
    <option value="dining.html">Dining</option>
    <option value="review.html">Review</option>
    </select>

    Thanks, will give it a go :)


  • Closed Accounts Posts: 50 ✭✭foxhound


    if you are using dreamweaver its called "Jump Menu"
    just fill in the links


  • Advertisement
  • Moderators, Science, Health & Environment Moderators Posts: 9,040 Mod ✭✭✭✭mewso


    May as well push my unobtrusive agenda - http://www.systemdotweb.com/viewpost.aspx?id=7


Advertisement