[Zope] Using images as submit buttons

Loren Stafford lstafford@morphics.com
Thu, 18 Jan 2001 09:03:32 -0800


You might look into a javascript onClick this.submit. I haven't actually
done this yet, so I don't have the exact syntax at hand, but I'm sure you
could find it on one of the javascript sites.

-- Loren

-----Original Message-----
From: richard@vicnet.net.au [mailto:richard@vicnet.net.au]On Behalf Of
richard@bizarsoftware.com.au
Sent: Wednesday, January 17, 2001 18:29
To: zope@zope.org
Subject: [Zope] Using images as submit buttons


Has anyone figured a reasonable way of getting multiple image submit
buttons for a single form? I tried

  <input type="image" name="goMethod:method" src="go.png">

but that didn't work for obvious reasons.

  <button value="submit" name="goMethod:method" type="submit"><img
src="images/go.png"></button>

didn't work under Netscape 4.75 - I didn't get a button on the form...

Suggestions? If nothing is suggested, I think I'll have to suggest that the
first form "be fixed". Ick.


    Richard

--
Richard Jones
richard@bizarsoftware.com.au
Senior Software Developer, Bizar Software (www.bizarsoftware.com.au)

_______________________________________________
Zope maillist  -  Zope@zope.org
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )