php3-list | 199807
Date: 07/31/98
- Next message: Kristian Koehntopp: "Re: [PHP3] What is md5?"
- Previous message: Reiner Kukulies: "[PHP3] New German PHP Mailinglist"
- In reply to: Colin Viebrock: "Re: [PHP3] image as submit, with javascrip onMouseOver"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> There is one solution that I can think of:
>
> <A HREF="javascript:document.formname.submit();" onMouseOver="...">
> <IMG SRC="foo.gif"></A>
>
> That is, let the HREF of the tag submit the form (indirectly). The main
> drawback: if you don't have javascript enabled, there is no way to submit
> the form.
There is a way to do both things:
<script language="javascript">
document.write('<A
HREF="javascript:document.formname.submit();"onMouseOver="..."><IMG
SRC="foo.gif"></A>');
</script>
<noscript>
<input type="image" src="...">
</noscript>
Antonio Garcia Mari
Mallorca (Spain)
-- PHP 3 Mailing List http://www.php.net/ To unsubscribe send an empty message to php3-unsubscribe <email protected> To subscribe to the digest list: php3-digest-subscribe <email protected> For help: php3-help <email protected> Archive: http://www.php.net/mailsearch.php3
- Next message: Kristian Koehntopp: "Re: [PHP3] What is md5?"
- Previous message: Reiner Kukulies: "[PHP3] New German PHP Mailinglist"
- In reply to: Colin Viebrock: "Re: [PHP3] image as submit, with javascrip onMouseOver"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

