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: some folk suggest that the user upgrades and provides link(s) accordingly, some redirect to a basic page.

However, in the long run, it isn't worth it, as the others have said. Just let the page degrade gracefully in old browsers.

HTH,

Bob McClelland
www.gwelanmor-internet.co.uk


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

-------------------------------
Owen Briggs used a style class named .ahem set to display: hidden which links user to alternative content

http://www.thenoodleincident.com/tutorials/box_lesson/index.html

--------------------------------------

of course i am seeking to make this whole thing graceful and silent, ie users don't have to be aware or made
aware of thier inefior browser just get redirected.

So I am wondering:
   what the WSG members think of the idea?
   has something like this been made?


atb Sam


******************************************************
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************




******************************************************
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************

Reply via email to