oi Mosh!!

uh, don't the name.x and name.y hold the pixel location of the actual click?


-- 


------------------------------------
Tuesday, September 2, 2003, 11:12:45 AM, you wrote:

MT> Robert:

MT> INPUT fields of type "Image" do not pass a value as defined by the VALUE
MT> attribute.  Instead, they pass 2 values, defined by the NAME attribute.  The
MT> values passed are "name.x" and "name.y" each value corresponding to the X or
MT> Y coordinate of the point on the image where the user click the mouse.  So,
MT> for example, if a user clicked dead center on the image produced by:

MT>     <INPUT TYPE="image"
MT>             SRC="images/delete_record.gif"
MT>             NAME="delete"
MT>             WIDTH="100" HEIGHT="100">

MT> Your action page would see delete.x and delete.y, both of which would
MT> contain the value "50".

MT> --
MT> Mosh Teitelbaum
MT> evoch, LLC
MT> Tel: (301) 942-5378
MT> Fax: (301) 933-3651
MT> Email: [EMAIL PROTECTED]
MT> WWW: http://www.evoch.com/


>> -----Original Message-----
>> From: Robert Orlini [mailto:[EMAIL PROTECTED]
>> Sent: Tuesday, September 02, 2003 10:35 AM
>> To: CF-Talk
>> Subject: SUBMIT button
>>
>>
>> Any reason that this submit button code does not work?
>>
>> <input type="image" border="0" src="images/delete_record.gif"
>> alt="delete" value="delete" name="delete">
>>
>> I like the look of this button because it is an image, but does
>> not pass the "delete" value to the form.
>>
>> This one works fine:
>>
>> <input type="submit" value="delete" name="delete"
>> src="images/delete_record.gif">
>>
>> But is displays the old looking default SUBMIT button.
>>
>> Robert O.
>> HWW
>> 
MT> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

Reply via email to