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. ]
--------------------------------------------------------

Received on Friday, 18 July 1997 05:28:01 UTC