- From: Steven Pemberton <steven.pemberton@cwi.nl>
- Date: Wed, 05 Aug 2020 13:59:14 +0200
- To: public-xformsusers@w3.org
I have a use case, which is best illustrated with this example: http://www.cwi.nl/~steven/forms/tests/switch-styling.xhtml (which is a version of something that comes from my original XForms tutorial https://homepages.cwi.nl/~steven/xforms11-for-html-authors/part2.html) My example uses a row of triggers at the top, which then toggle the respective switch case. What I wanted though was that the trigger stay at a different colour once clicked. So in the above example, each trigger sets a value to 'selected' and then uses that as an AVT in a class to style the selected tab. What struck me though was that this row of triggers is really just a select1 in a different guise. So I redid it using select1: http://www.cwi.nl/~steven/forms/tests/switch-styling1.xhtml and my conclusion was that this woulld be really useful as a standard @appearance value, since I could imagine using it in lots of different places. Steven
Received on Wednesday, 5 August 2020 11:59:30 UTC