Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

javascript for detecting System then redirecting to sys-specific page

Status
Not open for further replies.

JSCboulder

Technical User
Oct 6, 2008
6
DE
I post video on the web for personal sites and for clients. Still to date there is no viable cross platform video codec, Windows STILL does not support Flash, and Mac doesn't support WHM.

I use Fancybox to display video, using the iframe function in fancybox to get a page with the video embedded.

I would like a javascript detector I can install in the head of the page that is loaded into the iframe which will detect the system of the user's computer, for inst: if Windows then do nothing, if Mac then redirect to a different page to load, so that I can load Flash only for Mac machines, and WHM only for Windows machines. Is this possible, and what would that javascript be?
thanks
JSC
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top