Graphical DropDownList "Go" button?

by "Pete Jacobsen" <fluidweb(at)hotmail.com>

 Date:  Thu, 22 Oct 1998 00:09:40 PDT
 To:  hwg-graphics(at)hwg.org
  todo: View Thread, Original
I have been wondering for the longest time how to use a small image to 
activate the drop down menu instead of the usual "go" button. So far 
I've seen cgi codes do this, but how can I incorporate this using 
javascript or html?

here's the snippet I'm working with so far:

<script language="JavaScript">

function surfto(form) {
        var myindex=form.dest.selectedIndex
        window.open(form.dest.options[myindex].value,         
target="journalframe", "scrollbars");
}

</script>

<FORM NAME="myform"><font size=2 face="engraversgothic bt" color="red">
<SELECT NAME="dest" SIZE=1>
<OPTION SELECTED VALUE="spjournal.html" target="journalframe">Journals
<OPTION VALUE="spjournal.html" 
target="journalframe">-----------------------------------
<OPTION VALUE="spjournal.html" target="journalframe">Feb. 22
<OPTION VALUE="j0223.html" target="journalframe">Feb. 23
<OPTION VALUE="j0224.html" target="journalframe">Feb. 24
<OPTION VALUE="j0225.html" target="journalframe">Feb. 25
</SELECT>
<INPUT TYPE="checkbox" value="Display" 
onClick="surfto(this.form)"></form>

I tried using "input type=image src='button.gif'" but that just pops up 
coordinates on the user's location bar. (why?)

What can I do?
I know the list will come thru, it has in the past!

Thanks,
    Pete



      :::::::::::::::: Pete Jacobsen ::::::::::::::::
      :: Fluid Web Designs    http://Fast.to/Fluid ::
      :: Phat Mk1 Sciroccos     http://move.to/mk1 ::
      :: Skate Team     http://teamxxx.home.ml.org ::
      :: Boarders Suck Web Ring  http://come.to/bs ::
      :: Don't forget to  http://come.to/myprofile ::
      :::::::::::::::::::::::::::::::::::::::::::::::


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

HWG: hwg-graphics mailing list archives, maintained by Webmasters @ IWA