Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Can I use an image to post information from a form?

Reply
Thread Tools

Can I use an image to post information from a form?

 
 
Dynamo
Guest
Posts: n/a
 
      11-29-2004
Hi,
Can I use an image to post information from a form instead of using a submit
button.
If so how should I set the attributes of the image and do I still use
<form method ="post" action = "url to post to">

<\form> .

Regards
Dynamo

 
Reply With Quote
 
 
 
 
Lauri Raittila
Guest
Posts: n/a
 
      11-29-2004
in alt.html, Dynamo wrote:
> Hi,
> Can I use an image to post information from a form instead of using a submit
> button.
> If so how should I set the attributes of the image and do I still use
> <form method ="post" action = "url to post to">
>
> <\form> .


http://www.cs.tut.fi/~jkorpela/forms/imagebutton.html

--
Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>
 
Reply With Quote
 
 
 
 
VoLd
Guest
Posts: n/a
 
      11-29-2004
Yes you can:

<input type="image" src="(path)" name="submit" border="0">

should do the trick.
 
Reply With Quote
 
Michael Fesser
Guest
Posts: n/a
 
      11-30-2004
.oO(VoLd)

>Yes you can:
>
><input type="image" src="(path)" name="submit" border="0">
>
>should do the trick.


Except for the border-attribute (no such thing on input elements).
But an alt-attribute would make sense.

Micha
 
Reply With Quote
 
Neal
Guest
Posts: n/a
 
      11-30-2004
Michael Fesserwrote:
> .oO(VoLd)
>> <input type="image" src="(path)" name="submit" border="0">

> But an alt-attribute would make sense.


How?? Give an example.
 
Reply With Quote
 
rf
Guest
Posts: n/a
 
      11-30-2004
Neal wrote:> Michael Fesserwrote:

> >> <input type="image" src="(path)" name="submit" border="0">

> > But an alt-attribute would make sense.

>
> How?? Give an example.


<input type="image" src=... alt="submit"> ?

--
Cheers
Richard.


 
Reply With Quote
 
Neal
Guest
Posts: n/a
 
      11-30-2004
On Tue, 30 Nov 2004 04:04:15 GMT, rf <rf@.invalid> wrote:

> Neal wrote:> Michael Fesserwrote:
>
>> >> <input type="image" src="(path)" name="submit" border="0">
>> > But an alt-attribute would make sense.

>>
>> How?? Give an example.

>
> <input type="image" src=... alt="submit"> ?


Ok...
 
Reply With Quote
 
Lauri Raittila
Guest
Posts: n/a
 
      11-30-2004
in alt.html, VoLd wrote:
> Yes you can:


Well, I never said otherwise, and I actually gave link where there is
best instructions about how to do it right I have ever seen. The fact
that half of the page is about why it is bad idea is exactly the reason
why I didn't give fragment identifier for that point.

> <input type="image" src="(path)" name="submit" border="0">
>
> should do the trick.


Sure it does something, but could be done better. Why not read:
http://www.cs.tut.fi/~jkorpela/forms/imagebutton.html

Which you snipped whiout commenting.

--
Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
use Python to post image to Facebook CM Python 4 06-24-2012 03:57 PM
How to call an aspx that accepts parameters through HTTP POST and returns an image, and then display the image in my html? computer_guy ASP .Net 3 07-20-2007 04:25 AM
How to post on Google, Can't find Post link? where is it? baaas Computer Support 4 06-09-2005 05:00 PM
Post post post. Shel-hed Computer Support 2 11-08-2003 07:41 AM
Can post form data in IIS, but doesnt post it via webserver J. Muenchbourg Javascript 0 08-06-2003 05:23 PM



Advertisments