sam sherlock wrote:
What I would like to be able to do is detect to see if the user has the
proper support
for web standards and if not redirect them to a version of the site
using old skool junk HTML
...
So I am wondering:
what the WSG members think of the idea?
has something like this
G'day
What I would like to be able to do is detect to see if the user has the
proper support
for web standards and if not redirect them to a version of the site
using old skool junk HTML
Why? What benefit does anyone (developer, site owner, 1 visitor
in a million) gain from that junk HTML?
You can easily chack if someone's browser has DOM support by including
this in the header:
script type=text/javascript
!--//
if (!document.getElementById)
{window.location=altindex.html}
// --
/script
and this will redirect the user to an alternative html file of your
choice:
Thanks for the responses.
I agree with the points being made so far I am relucant to maintain two
sites
(actually I am using PHP to rebuild the junk from the XHTML semantic
site and will be adding a full flash version too :) but this is not a
php list )
Bert Doorn wrote:
Why? What benefit
On Jul 13, 2005, at 7:03 AM, sam sherlock wrote:
Basic Splash Page that degrades (though in my case it can't degrade
too much) directing the user to a site more suited to them (with
some PHP trickery and a list of Bad Browsers)
I don't want to emabrk upon a a tangent taking us off the focus
Hi All,
I actually put a non Dom counter on one of my sites a few months ago, to
check how relevant it was in this particular case. The site is a
holiday letting agency, so the users are of all kinds and from all IT
levels. (But mostly English).
You can see the detailed stats showing the
Curious--how do you check for DOM?
BL
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of designer
Sent: Wednesday, July 13, 2005 11:00 AM
To: wsg@webstandardsgroup.org
Subject: Re: [WSG] web stanards detection - is it possible?
Hi All,
I actually put
Sam Sherlock wrote:
Basic Splash Page that degrades...
directing the user to a site more suited to them...
a list of known bad browsers and they get put...
Since this is a music media site the main user base are expecting
glitz n glamour, bells n whisltes a plenty. Not giving them this is
Sorry, my figures were incorrect - what I thought was the last four
months was actually the last 6. The actual figures are:
Month
Dom
Non Dom
Feb
296
7
Mar
504
3
April
494
0
May
516
6
June
494
2
July
]
[mailto:[EMAIL PROTECTED] On Behalf Of designer
Sent: Wednesday, July 13, 2005 11:00 AM
To: wsg@webstandardsgroup.org
Subject: Re: [WSG] web stanards detection - is it possible?
Hi All,
I actually put a non Dom counter on one of my sites a few months ago, to
check how relevant
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of designer
Sent: Wednesday, July 13, 2005 11:00 AM
To: wsg@webstandardsgroup.org
Subject: Re: [WSG] web stanards detection - is it possible?
Hi All,
I actually put a non Dom counter on one of my sites a few months ago
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of designer
Sent: Wednesday, July 13, 2005 11:00 AM
To: wsg@webstandardsgroup.org
Subject: Re: [WSG] web stanards detection - is it possible?
Hi All,
I actually put a non Dom counter on one of my sites a few months ago
re:
php sniffer script
Splash Page that degrades (though ... can't degrade too much)
Sam, i gotta agree with what Michael said earlier:
Did we just hit some kind of crazy-ass time warping worm-hole thatlanded us in 1995?I beg of you, wherever you are, go out and pick up a copy of this book:
Sam
Relying on the User Agent string and browscap in PHP is fraught with
danger. Most browsers have the ability to change the UA string.
Browser sniffing is a slippery slope... one of those never ending
tasks which is more easily solved by coding to the standards and
deprecating code nicely to
14 matches
Mail list logo