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.
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|