View Full Version : Adv. Redirect needed

12-07-2010, 10:37 PM
Theres several redirects probably required, but if it could be 1 script that I could put one 1 html page, that would be amazing (if it is possible).

I need the site to:
1. Upon going to site, determine if it is a mobile browser. If so, send visitors to mobile site automatically. If not then continue to step 2.
2. Verify that users can view Flash. If yes check connection speed:
A. Send above 60kbits/sec to flash site
B. If less send users to html site.
If they cannot view Flash, head to step 3
3. For those users that are left, (they can't view flash, and are not using a phone), send them to the html site.

I have bolded the 3 versions of the site I have. Please include all code needed, as Im a noob at Javascript programming (explanations on what the lines do would be nice).

Not having a good day...plz help make it WAY better.....

Old Pedant
12-07-2010, 11:00 PM
You're talking about a fairly major project here and one that is best *NOT* done using JavaScript.

Look at this thread:

And *that* is just to detect if it's a mobile browser or not.

Almost surely this is not a project for JavaScript.