Hi there,
You can't do that with plain HTML.
You'll either have to create two separate forms, or you'll have to use some JavaScript like this (untested)"
<img src="img1.gif" onclick="document.forms[0].action='Page1.asp';document.forms[0].submit();" />
<img src="img2.gif" onclick="document.forms[0].action='Page2.asp';document.forms[0].submit();" />
With this code, the action attribute of the form is changed dynamically, and then the form is submitted.
Does this help?
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
|