Pulll Down menu referencing a list

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rmcellig
    New Member
    • Feb 2008
    • 1

    Pulll Down menu referencing a list

    This is the code I am using at the moment for my pull down menu. It works great. I was wondering if it is possible to have the pull down menu reference a list file instead of entering each item separately like I did below. The reason is that if I make changes to the list file, it will be easier for me to maintain the pull down menu. Especially if I have the drop down code appearing on several pages on my web site.

    Right now if I made a change to my links below and I have this code in three separate pages on my web site, I would have to make three separate changes. If I had my pull down menus referencing the same list file, then all I would have to do is make changes to that list file and all of my three pull down menus would reflect the changes made.

    I know that there must me an answer to this question. Thanks!!


    [CODE=html]<select name="select15" onChange="windo w.open(this.opt ions[this.selectedIn dex].value,'_blank' )"" style="width: 100%;">
<option selected>MUSIC</option>
<option value="http://www.apple.com/">Apple</option>
    <option value="http://www.nfo.net/">Big Band database</option>
    <option value="http://www.ottawacarsi ja.com/"">Bosnian Radio</option>
    <option value="http://www.chuo.fm"">C HUO-FM</option>
    <option value="http://www.classicmovi emusicals.com"" >Classic Movie Musicals</option>
    <option value="http://www.downbeat.co m"">Downbeat Magazine</option>
    <option value="http://www.drummerworl d.com"">Drummer world</option>
    <option value="http://www.inamellowto ne.blogspot.com/"">In A Mellow Tone</option>
    <option value="http://www.jazz.com/"">Jazz</option>
    <option value="http:/www.jazzreview. com/"">Jazz Review</option>
    <option value="http:/www.jazzstandar ds.com/"">Jazz Standards</option>
    <option value="http://www.musicweb-international.c om/RiseandFall/index.htm"">Pop ular Music</option>
    <option value="http:/www.redhotjazz. com/"">Red Hot Jazz Archive</option>
    <option value="http://www.songwriters halloffame.org/"">Songwrit ers Hall Of Fame</option>
    <option value="http://www.touchemusic .se/"">Touche Music</option>
</select>[/CODE]
    Last edited by eWish; Feb 23 '08, 02:00 PM. Reason: Please use [code][/code] tags
  • drhowarddrfine
    Recognized Expert Expert
    • Sep 2006
    • 7434

    #2
    Not with html/css. HTML is not a programming language. You might be able to have the links get redirected on the server side, though.

    Comment

    Working...