[Zope] OT: Using images to post a form

Aleksander Salwa ololo@zeus.polsl.gliwice.pl
Mon, 19 Feb 2001 12:03:29 +0100 (CET)


On Mon, 19 Feb 2001, Paul Zwarts wrote:

> Hi all,
> 
> A slight off-topic request. I want to replace buttons with images to
> post a form (for more than just cosmetic reasons), does anyone know how
> it would be done? Can something like an onClick=document.Form.submit()
> work here and tell zope to read the request?

<input type="image" name="foo" src="..." alt="...">

You will get variables foo.x and foo.y describing coordinates of
mouse-click.


ololo@zeus.polsl.gliwice.pl, oleks@helper.pl, ICQ#: 108588073
o-----------------------------------------------------------o
                  (c) All rights reversed