Re: BUTTON element

Dave Salovesh (darsal@tezcat.com)
Wed, 16 Jul 1997 16:58:38 GMT


From: darsal@tezcat.com (Dave Salovesh)
To: www-html@w3.org
Subject: Re: BUTTON element
Date: Wed, 16 Jul 1997 16:58:38 GMT
Message-ID: <33cce07e.1343772@mail.tezcat.com>
In-Reply-To: <v0310282baff20cf1c06e@[205.149.180.135]>

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

I don't want my page redrawn just to show a pressed button for a
fraction of a second.

There's also the question of when the PRESSED image would be loaded.  If
it's requested only when the button is pressed there will be delays in
showing the pressed view, but if it's requested from the outset on a
page with several buttons there will be several images that are loaded
but may never be displayed.

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.

- -- 
dave salovesh
darsal@tezcat.com

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBM8z9gyL1GO1SAbtJAQHuEwQAgxj0JGYlzVPs61b+fOetcUQtKg03s7O+
u2sPLjYPqxo/jF0+qAmwQFmxZ1SV9JKEhjNemFvxIatGOZgsB5evT6qnqGKybGbu
XNfcyzjFzGHWWyUl/nGyAfzfKJcfwxJyK1TQKQsHsmzYahQo5G46N7vbeo08G0Fj
6sgthWgi7OI=
=dASP
-----END PGP SIGNATURE-----