ddantes
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?
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"></sc ript>
<![endif]-->
The same behavior is observed with those 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"></sc
<![endif]-->
The same behavior is observed with those thumbnails.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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.
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)
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