Click to See Complete Forum and Search --> : Use an image as a function button?


Fredde
01-29-2003, 09:34 AM
Yes, I´m a noob with javascript but I´m learning......
The thing I wondering abou know is how you do a function button with an image. I know this way: <INPUT TYPE = Button onClick "function()";>
But with this I get a boring default button. What I want is an image of my own used as a button. The reason for this is that the image will be a house or something and after you´ve clicked it you then choose were to put the house on a grass field.

Another question....When you click the image button with a house I need to store it so it pop ups at the grassfield. Could need help with how I store the picture, after you´ve clicked it, in the function

Dan Drillich
01-29-2003, 09:43 AM
Please have a look at -
http://forums.webdeveloper.com/showthread.php?s=&threadid=3062&highlight=webcrawler

Cheers,
Dan

Fredde
01-29-2003, 01:38 PM
Thanks, I got what I wanted. Most of the code was just ?????? to me but I understod the part I wanted to know so thank you