[WEB4LIB] changing standard gray buttons

Kevin Fredrick fredrick at alus.lib.ipfw.edu
Mon Oct 25 12:14:56 EDT 1999



Kevin Fredrick
Helmke Library - http://www.lib.ipfw.edu/
[219.481.5445 W] [219.429.5250 H] [219.460.9372 P]

On Mon, 25 Oct 1999, Petter Naess wrote:

> I'm not a programmer, so please excuse, but can the standard gray "Go"
> button in JavaScript dropdowns be changed, ie. replaced with a button of
> one's own choosing (or making)? I don't need mouseover or fancy effects,
> I'd just like a more attractive button.
> Here's text from my script - I assume reference to the button image would
> have to go in there someplace. If I had a button called button.gif, how
> would I fit it in?
> 
> <input type="button"
> onClick="location =
> document.form4.dd1.options
> [document.form4.dd1.selectedIndex].value;"
> value="GO;">
> 
> Many thanks, Petter Naess
> 

<input type="button"
onClick="location =
document.form4.dd1.options
[document.form4.dd1.selectedIndex].value;"
value="GO;" src="button.gif">

add a SRC="image.gif" to the <input>

Kevin Fredrick
Helmke Library - http://www.lib.ipfw.edu/
[219.481.5445 W] [219.429.5250 H] [219.460.9372 P]




More information about the Web4lib mailing list