|
Posted by Anze on 10/19/05 21:40
> It's impossible to track down all of the combinations of users'
> operating systems, computer speeds, and browser software, so it is best
> just to stay away from javascript altogether. When making an
> informational or commercial website, it's very important to take your
> audience into consideration.
I almost agree with you. BUT:
- JavaScript, when used properly, can make user experience better
- JavaScript can be written so nobody has problems with it
Believe it or not, some time ago I even made a page with dynamic JS menus
that was accessible to anybody. But since JS was cleverly written it
detected if all of the functions needed were supported and only presented
the menu if all the checks have passed. Otherwise a static menu was left
where it was. Consequently there were no problems with users with JS turned
off, no problems with search engines and similar. The client was happy and
so were the users that had JS enabled - others didn't even know they were
missing something.
By the way, the check I was talking about had NOTHING to do with browser
sniffing. This is an Evil (tm) thing to do. Instead I checked for every
function I used - sth. like this:
if (document.getElementById) {
el=document.getElementById('some_id');
...
}
Regards,
Anze
Navigation:
[Reply to this message]
|