Steel Gauges or WDL

So let me if I understand this correctly.
WDL is flash based and does not work on MACs and IPads, but works on older IE versions and other browsers.
Steel Gauges are HTML5 and does not work on old IE versions, but works on MACs, IPads and other browsers.
Is this correct or am I way off base?

If yes, then is there a was to detect a visitors computer and automatically direct them to the correct webpage from the menu?
IE users would go to this page: http://www.cavecountryweather.com/wxlive.php
And MAC users would be directed to this page:http://www.cavecountryweather.com/wxlivemac.php

Sounds about right!

I use this, a js file called “ifoldie.js”…

<!--
/*******************************************************************************
	OLDIE - or Old IE. A script that finds the version of IE you're using,
	and redirects if lower than the set parameter.
	[[ Created by Ryan McLaughlin, www.DaoByDesign.com ]]
*******************************************************************************/
var browser		= navigator.appName
var ver			= navigator.appVersion
var thestart	= parseFloat(ver.indexOf("MSIE"))+1 //This finds the start of the MS version string.
var brow_ver	= parseFloat(ver.substring(thestart+4,thestart+7)) //This cuts out the bit of string we need.

if ((browser=="Microsoft Internet Explorer") && (brow_ver < 9)) //By default the min. IE ver is set to 6. Change as desired.
	{
	window.location="http://yourwebsite.com/nameoffile.php"; //URL to redirect to. ( I use http://stillweather.com/index2-12.php which will bring you to an older page but still live.)
	}
//-->  

Then in your top.php or your header put this…

<script type="text/javascript" src="http://yourwebsite.com/ifoldie.js">  

So essentially http://stillweather.com will bring you to SteelSeries unless you have an older browser, then it will bring you to http://stillweather.com/index2-12.php

Jack

note that WDL does work on a Mac, in the browser (e.g Firefox or Safari (just tested both here))
its just the operating system running on a Ipad or Iphone that is does not work on

SteelSeries has a redirect built-in if the browser does not support HTML5, just assign the alternative URL to a variable at the top of the script.

I could not find it. :frowning: What line of which script?

I believe you’re looking for gauges.js, line 24, var g_oldGauges.

That did the trick. Thanks.