On Thu, 20 Apr 2017, Graeme Geldenhuys wrote:

On 2017-04-14 12:53, Michael Van Canneyt wrote:
Why is it scripting needed to display a calendar?

To display a popup menu, for example.

But apparently you don’t need JavaScript for that either. Here is a blog
post (dated 5 years ago) where the person proved just that - you can use
HTML and CSS alone to accomplish popup menus and modal dialogs without
JavaScript. ;-) Web developers just chose not to do so. Makes you wonder
what else is possible (we all know Web Developers like to take shortcuts
and live by copy-and-paste coding styles).

That was only possible after CSS had been 'updated' to include some dynamic 
effects.

And CSS will not help you for example with autocompletion in an edit box.

The people fighting javascript in the browser are fighting a reargard battle.
It will only get worse. As long as there is no acceptable alternative for
the browser, this will continue to worsen...

Michael.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to