RE: [Zope] Using images as submit buttons
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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, January 17, 2001 18:29 To: [EMAIL PROTECTED] 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 [EMAIL PROTECTED] Senior Software Developer, Bizar Software (www.bizarsoftware.com.au) ___ Zope maillist - [EMAIL PROTECTED] 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 ) ___ Zope maillist - [EMAIL PROTECTED] 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 )
RE: [Zope] Using images as submit buttons
Untested but tried: script language=JavaScript function submit(){ self.document.formName.submit(); } /script a href="javascript:submit();"img src="submit.gif"/a Regards Max M Max M. W. Rasmussen,Denmark. New Media Director private: [EMAIL PROTECTED] work: [EMAIL PROTECTED] - Specialization is for insects. - Robert A. Heinlein ___ Zope maillist - [EMAIL PROTECTED] 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 )
[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 [EMAIL PROTECTED] Senior Software Developer, Bizar Software (www.bizarsoftware.com.au) ___ Zope maillist - [EMAIL PROTECTED] 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 )