W3C home > Mailing lists > Public > www-html@w3.org > April 1999

Form "select" suggestion

From: <DBHarkey@aol.com>
Date: Thu, 8 Apr 1999 14:27:19 EDT
Message-ID: <1eac1de2.243e4f07@aol.com>
To: www-html@w3.org
	I'm quite new to this discussion forum, so I'd like to take the 
opportunity to introduce myself, as well as present a suggestion for a future 
HTML tag :)

	My name is David Harkey, and I'm the webmaster for a few corporate 
websites, as well as a few "in-production" sites.  I've been learning HTML 
for about 4 years now, and consider myself quite knowledgeable in the area.  
Anyway, on to my suggestion...

	I was hoping that it might be possible to include an attribute in the 
SELECT/OPTION form command in HTML.  The attribute would add an icon (16 
pixels by 16 pixels for a normal box, or scaled to size depending on how 
large the font of the select box is) to an option in the box.  A possible 
format might be:

<SELECT NAME=selection1 (SIZE=number - optional) ICONSPACING 
	<OPTION NAME=item1 VALUE="item 1" ICON="icon1.gif"> Item 1
	<OPTION NAME=item2 VALUE="item 2" ICON="icon2.gif"> Item 2

	ICONSPACING would tell the select box to allow space for an icon.  If 
no icon space is provided, then the text will simply align to the left as 
	ICONALIGN species where the icon would appear: to the left or right 
of the text.
	ICON itself would specify an icon to use with the option.

	Another possible implementation is the ability to use the ICONSPACING 
command inside the OPTION tag.  A possible result might be:

	*** Item 1
	*** Iterm 2
	Item 3
	*** Item 4

	where Item 3 utilizes the ICONSPACING=FALSE attribute.

	I'm sorry if I've sent this suggestion to the wrong venue; however, 
if I have, can someone kindly point me in the right direction?

Thanks for listening.  :)

-David Harkey
Received on Thursday, 8 April 1999 14:27:58 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 30 April 2020 16:20:36 UTC