John Allman wrote:
> Although i'm sure your piano thing worked a charm, i don't believe
> it's possible to write code that will work for every browser in every
> situation. Things like workarounds for buggy css implementations can
> be troublesome when you're doing nasty things with layers. I've
> written code that does no silly checks and works, but i dont believe
> that's possible for everything you want to do in javascript atm. So i
> guess i'd argue that that day is yet to come.
>> Though i'm open to the possibility that i'm wrong.
I write code myself so that even if it the browser doesn't support
JavaScript at all, the page is still usable.
For instance, http://blogs.linux.ie/kverens/ has two scripts on the
page - the left menu collapses in JavaScript, and the content on the
right becomes tabbed with JavaScript.
My own opinion of JavaScript is that it should only be used to "enhance"
a page, and should never become actually necessary. In that case, if it
doesn't work in any particular browser, then it doesn't matter in the
slightest.
Kae
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!