[Pro] How to detect which browser is being used

Is there a way to detect which browser is being used to view my webpage in Freeway?

I’d like to have Freeway detect browsers that don’t support SVGs and send those to another version of my website with PNGs (or JPEGs, etc.)

How do i re-direct those browsers after Freeway has identified them?

Thanks!


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Have a look at Can I use... Support tables for HTML5, CSS3, etc

Essentially IE8 and below have little/no support.

So you want to include a conditional redirect something like

<!--[if lte IE 8]> 
  <meta http-equiv="refresh" content="0;http://www.mysite.com/no-svg.html"> 
<![endif]-->

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Or maybe

<!--[if lte IE 8]>
<script type="text/javascript">window.location = "http://www.yoursite.com/no-svg.html";</script>
<![endif]-->

freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

If you have IE 8 try this page http://www.deltadesign.co/fw_examples/wide-page.html

This uses the script in the previous post.

You would add that script in Page>Html Markup in the After section

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options