Link to home
Start Free TrialLog in
Avatar of ddantes
ddantesFlag for United States of America

asked on

Redirecting browsers which lack html5 capacity

I have a new website which uses html5, and I notice it works poorly under IE8.  Perhaps there are other browsers which would not render a good user experience.  Can you suggest a script which would redirect html5-incapable browsers to my previous site, which doesn't use html5?
Avatar of Gary
Gary
Flag of Ireland image

What is it you are using that is failing.
You can use a shim/shiv that makes IE8 almost seem like an HTML5 browser - 'fixes' things like section/nav tags etc. so IE understands the markup
Avatar of ddantes

ASKER

Some pages have scalable image thumbnails which enlarge to full-size on click, or tap, with shadowbox.  This works under IE8 in the original site,  coded XHTML 1.0 Transitional.  In the html5 site, the images load full-size, instead of thumbnails.

www.mauivacationrental.com/StarWind.htm  versus www.mauitradewinds.com/StarWind.htm

I uploaded html5shiv.js and included the following code in the <HEAD> section of www.mauivacationrental.com/test.htm :
<!--[if lt IE 9]>
<script src="js/html5shiv.js"></script>
<![endif]-->

The same behavior is observed with those thumbnails.
ASKER CERTIFIED SOLUTION
Avatar of Gary
Gary
Flag of Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ddantes

ASKER

That helped.
You are generous with your time and expertise.  I feel  the same of all the Experts, and you have been particularly helpful to me with a difficult project I am wading through.
:o)