Solved

Redirecting browsers which lack html5 capacity

Posted on 2014-03-09
5
236 Views
Last Modified: 2014-03-09
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?
0
Comment
Question by:ddantes
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 58

Expert Comment

by:Gary
ID: 39916289
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
0
 

Author Comment

by:ddantes
ID: 39916300
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.
0
 
LVL 58

Accepted Solution

by:
Gary earned 250 total points
ID: 39916316
Well rather than trying to fix what is not fixable pop this in your header

<!--[if lt IE 8]>
<script type="text/javascript">
      window.location = "oldsite.php"
</script>
<![endif]-->

Open in new window


...and count the days til the end of IE8
0
 

Author Comment

by:ddantes
ID: 39916513
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.
0
 
LVL 58

Expert Comment

by:Gary
ID: 39916518
:o)
0

Featured Post

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses how to create an extensible mechanism for linked drop downs.
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question