1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

<SELECT onchange="window.location.href=this.options

Discussion in 'HTML & Website Design' started by zodiac, Jan 6, 2007.

  1. #1
    <SELECT onchange="window.location.href=this.options
        [this.selectedIndex].value">
    <OPTION VALUE="0">categories</OPTION>
    <OPTION VALUE="cat1">1</OPTION>
    <OPTION VALUE="cat2">2</OPTION>
    <OPTION VALUE="cat3">3</OPTION>
    </SELECT>
    Code (markup):
    instead of a standard menu i want a drop down menu.
    how can i change it so if i go to 'cat2' the selections stays on 'cat2'?
    (also on the category it has pages)
    SEMrush
     
    zodiac, Jan 6, 2007 IP
    SEMrush
  2. EvilivE

    EvilivE Peon

    Messages:
    23
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    When should it stay on 'cat2'? When you go to the next page? When you com back to this page?
     
    EvilivE, Jan 7, 2007 IP
  3. zodiac

    zodiac Peon

    Messages:
    2,662
    Likes Received:
    82
    Best Answers:
    0
    Trophy Points:
    0
    #3
    the options are from index.php,so when they select one it stays on that option in the menu.
     
    zodiac, Jan 7, 2007 IP