Several different things can work as a button/image
1. Imagine a picure of a button, button.gif - you can use a link -
<a href=http://whatever><img src=button.gif></a>
2. A picture of a button, button.gif, could just have an onclik event in
javascript -
<img src=button.gif
onClick=javascript:document.location='http://wherevever>
3. The submit button on a form can be replaced using the following
<input type=img src=button.gif>
4. There is probably also css magic that can also do similar things, but
I don't know much about css
So unfortunately there is no single answer to the question.
We should also add examples of each of these situations to the docs
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Shao Kang Tat
Sent: 13 July 2005 19:32
To: [email protected]
Subject: Re: [Wtr-general] missing image
Yes, I believe it could be a button. I've come across cases like that,
where the HTML is <input type=image....> but the only way for me to
access it is by button. I *think* that it's identified as an image if,
in the html, you specifically have:
<img src="blah"...>
but I could be wrong..so, correct away :)
Shao
On 7/13/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Is it? I'm confused. Could it be a button although it's input type is
> image???
>
> Don't get confused with the name and the id prefix...
>
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general