News for hackers. Stuff that matters.
Re:You don't need JavaScript for that by Alifatisk on Saturday December 02, 2023 @07:00AM (#38497986)
The custom switch was honestly kind of impressive
Re:You don't need JavaScript for that by syslog on Saturday December 02, 2023 @07:13AM (#38498063)
From the UX point of view I very much prefer the oldschool way of „ticked“/„nonticked“ instead of „left/right“ switch.
Re:You don't need JavaScript for that by jotaen on Saturday December 02, 2023 @07:20AM (#38498102)
To me, they have slightly different semantics: I perceive the checkbox as “passive” form element (i.e., only to have an effect on form submission), whereas the toggle switch I understand as instant action (i.e., effectuated immediately, on click). Unfortunately, it’s not consistently used that way in practice, which makes the situation confusing at times.
Re:You don't need JavaScript for that by pohuing on Saturday December 02, 2023 @08:29AM (#38498488)
I wonder how much the culture you're used to matters for this. What if you grew up with right to left writing system. Should your switches have the off state on the right?
Re:You don't need JavaScript for that by qingcharles on Sunday December 10, 2023 @11:46AM (#38592815)
Britain has their light switches operate the opposite way around to the USA.