Re: Iconize weather info and something else
Brought to you by:
iridium
From: Martin G. <gim...@gi...> - 2002-02-12 16:32:43
|
"Max Hammond" <ma...@fl...> writes: >> We should also be careful not to send the JavaScript to people who >> use older browsers - PHP has a function that can help with this >> (get_browser()). > > I'm not convinved that it's worth the bother. When 0.01% of people > are using browsers that won't understand this kind of javascript, > it's probably not worth it. 5 years ago, yes, you had to take into > account the fact that a good handful of people would be using > netscape 2, but even then, we were designing for the shiny new > Netscape 3, with all it's advanced features. Yes, but people might have javascript turned off, even in their new fancy browser. So, there should still be a way to get the normal report. > There is a reason for doing a browser-detect though, or at least > finding a way around the problem: some people use screen readers, or > parsers like betsie to present easy-to-read versions of a page. They > won't like javascript. I don't know betsie, but you're right: there has to be an option to turn this javascript-thing off. And it would be preferable if the script could try and guess when to turn if off. -- Martin Geisler My GnuPG Key: 0xF7F6B57B See my homepage at http://www.gimpster.com/ for: PHP Weather => Shows the current weather on your webpage. PHP Shell => A telnet-connection (almost :-) in a PHP page. |