News for hackers. Stuff that matters.
Re:You might not need JavaScript by tracker1 on Wednesday October 12, 2016 @05:31AM (#12691479)
You could go the other way just as easily, and eliminate the css requirement. Doesn't mean it's the best way to do a given thing.

Also, the examples don't support a lot of use cases... the accordian and tab examples, while interesting will submit goofy information if they're containing multi-part forms.

The image changer will break other bits of navigation, or similar changers by abusing the target. Similarly, the lightbox example doesn't have a slideshow support, and even if so, would probably be as/more complex than just using JS.

Also, how many of these examples work in IE11? This browser will be around a while for public facing sites, and has some really broken implementations of newer css features like calc (which doesn't work in several scenarios).

Re:You might not need JavaScript by Roboprog on Wednesday October 12, 2016 @11:44AM (#12693867)
Amen. If you are really good at CSS, you might play to that strength. Or, you might play to different strengths. There's probably more than one way to do it in many cases that doesn't hurt the project.