Re: BUTTON element

Jordan Reiter (jreiter@mail.slc.edu)
Fri, 18 Jul 1997 05:33:54 -0500


Message-Id: <l03110705aff4f66ea72f@[198.77.183.193]>
In-Reply-To: <33cce07e.1343772@mail.tezcat.com>
Date: Fri, 18 Jul 1997 05:33:54 -0500
To: darsal@tezcat.com (Dave Salovesh), www-html@w3.org
From: Jordan Reiter <jreiter@mail.slc.edu>
Subject: Re: BUTTON element

At 11:58 AM -0500 7/16/97, Dave Salovesh wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>
>Walter sent this to the www-html list:
>
>>And here's a better idea:
>>
>>   <INPUT TYPE=image SRC="buttonup.gif" PRESSED="buttondn.gif">
>>
>>This is backwards-compatible, plus it gives the author greater control
>>over how the "highlight" appears when the button is pressed. Perhaps
>>this PRESSED attribute could be added to IMG/OBJECT as well?
>
>Some would be too tempted to use that feature like a thumbnail to link
>to a full image (completely ignoring correct FORM/SCRIPT usage), except
>the full image would try to pop up in the same place.  The PRESSED image
>would need to be resized to fit the original space, or the page would
>need to be redrawn to fit the new image.  This would also be true if I
>wanted a button which would go splat when pressed.
[snip]
>The rendering of a button, pressed or not, should be left to the devices
>which will do the rendering, and shouldn't call for loading additional
>file.
A simple solution is to use the "onmousedown" attribute with an <IMG> element.

--------------------------------------------------------
[                    Jordan Reiter                     ]
[            mailto:jreiter@mail.slc.edu               ]
[ "You can't just say, 'I don't want to get involved.' ]
[  The universe got you involved."  --Hal Lipset, P.I. ]
--------------------------------------------------------