[whatwg] Quick thought on the Combo Box problem...

Matthew Raymond <mattraymond at earthlink.net> writes on 
Wed, 30 Jun 2004 04:25:16 +0200 (METDST):

> 
> Hmm... How 'bout this:
> 
> <popup id="list1">
> <item value="Item 1" />
> <item value="Item 2" />
> <item value="Item 3" />
> </popup>
> 
> <popup id="cutcopy">
> <item value="Cut" />
> <item value="Copy" />
> <item value="Paste" />
> </popup>
> 
> <label for="combo1">Combo 1: </label>
> <input type="combo" name="combo1" value="Default" popup="list1"
> />
> 
> <label for="combo2">Combo 2: </label>
> <input type="combo" name="combo2" value="Default" popup="list1"
> />
> 
> <label for="text1">Text 1: </label>
> <input type="text" name="text1" value="Default" context="cutcopy"
> />
> 
> <script language="ECMAScript" src="nonWF2_popup.js"></script>


I like it. In fact I have suggested something like this in a private mail to Ian before the combo was dropped from the spec. AFAIR he didn't like it, because the "popup" elements could be scattered across the document.

Masi 

Received on Tuesday, 29 June 2004 23:52:31 UTC