On 10/01/2021 13:18, Andy Burns wrote:
> Ahem A Rivet's Shot wrote:
>
>> The Natural Philosopher wrote:
>>
>>> for popup dialogues and menus that expand you need Javascript.
>>
>> I thought those could be done in HTML and CSS these days.
>
> Yes, using selectors such as :focus, :checked or :target instead of
> event handlers such as onfocus() or onchange(), and if you can ignore
> older browsers.
>
> You can do a certain amount of form validation with pure html/css, but
> it generally doesn't take long to need *some* javascript, at which point
> you might as well make your life a bit easier and use it in more places
> for consistency.
>
>
I think that's pretty much my position. Once you realise you pretty much
need it, you might as well use it where its simpler than complicated CSS
or HTML constructions.
--
Climate is what you expect but weather is what you get.
Mark Twain
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|