> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Lachlan Hunt > Sent: Sunday, 29 January 2006 10:16 AM > To: wsg@webstandardsgroup.org > Subject: Re: [WSG] The dilemma: tabular data with sublevels > > Andreas Boehmer [Addictive Media] wrote: > > Bert Doorn wrote: > >> [ select category ] [ add ] [ edit ] [ delete ] > >> > >> You can have option groups in the select. Example: > >> > >> <form action="whatever"> > >> <select name="product"> > >> <option value="">Select Product</option> > >> <optgroup label="Fruits"> > >> <option>Apple</option> > >> <option>Orange</option> > >> <option>Lemon</option> > >> </optgroup> > >> ... > >> </form> > >> > > > > The problem is that we are not only allowing to add/edit/delete one > > level of the hierarchy, but all of them. Imagine it more to > be like this: > > > > [Add] [Edit] [Delete] Folder 1 > > [Add] [Edit] [Delete] SubFolder 1 > > [Add] [Edit] [Delete] SubFolder 2 > > [Add] [Edit] [Delete] SubSubFolder 1 > > [Add] [Edit] [Delete] SubSubFolder 2 > > [Add] [Edit] [Delete] SubFolder 3 > > [Add] [Edit] [Delete] Folder 2 > > Although it's currently impossible with a normal select list, > you can instead use radio buttons or checkboxes within nested lists. > > <ol> > <li><label><input type="radio"> Fruits</label> > <ol> > <li><label><input type="radio"> Apples<label> > <li><label><input type="radio"> Oranges<label> > <li><label><input type="radio"> Lemon<label> > </li> > <li>...</li> > </ol> > > Just fill that out with all the necessary attributes and > values, then add some submit buttons for add, edit and delete.
I have considered this possibility, but to be honest I find it not as user-friendly as the other solution. In particular if the list of items is very long, users will have to tick the radio button and then scroll to the end of the page (or the beginning) to find the button. So I am facing the question: make it user-friendly for the larger audience or make it user-friendly for users of browsers that cannot display style sheets. I am tending towards the first. ****************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************