W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2011

[whatwg] Checkboxes that control other checkboxes

From: Randy <randy@prowebdesign.nl>
Date: Sun, 14 Aug 2011 09:53:20 +0000
Message-ID: <979108063-1313315602-cardhu_decombobulator_blackberry.rim.net-1875422416-@b16.c10.bise7.blackberry>
You do understand that in general HTML en CSS are used for structure and presentation, whereas Javascript adds (automated) behavior?

When sites authors add Javascript functionality, it should be unobtrusive and should only add functionality to make things easier. For web applications (or simply for websites) you can decide to provide functionality that completely relies on javascript.

Your description clearly describes behavior and should stay in JS. Can you provide a real world use-case where this functionality is absolutely needed, so it should still work without JS?

Regards

------Original Message------
From: Timo Beermann
Sender: whatwg-bounces at lists.whatwg.org
To: whatwg at whatwg.org
Subject: [whatwg] Checkboxes that control other checkboxes
Sent: Aug 14, 2011 09:29

It should be able to implemet checkboxes, where by only
activating/deactivating this single checkbox you can active/deactivate
multiple other checkboxes. That is possible with scripting today, but
it should be possible without scripting, only with HTML/CSS. Because
some users deactivate Scripting (for security or whatever other
reason) and on other computers (school, university, work,...) you are
not able to change the settings, even if you want to. E.g. I use
NoScript and only allow scripting on very few trusted sites, that
really need it.

Timo Beermann


---
Sent from my BlackBerry
Received on Sunday, 14 August 2011 02:53:20 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:35 UTC