View Full Version : Redirect Help Needed

12-07-2010, 09:59 PM
Okay, Im hoping people good with Javascript read this because I need help!

Theres several redirectes 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 contninue 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.
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 version 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).

Philip M
12-08-2010, 09:58 AM
Double posted. :(
Please read the forum rule 1.2.

12-08-2010, 10:01 AM
my apologies...im new to the forum....still need help though

Philip M
12-08-2010, 10:09 AM
Have you looked at the response you were given in

The answer is that this is not suitable for Javascript

12-08-2010, 11:39 PM
Well i have seen in done in Java....but if you want to give me the source files in PHP let me know

Old Pedant
12-08-2010, 11:48 PM
Java, yes. Java isn't JavaScript.

12-09-2010, 01:30 AM
lol meant Javascript...forogt that hte 2 languages have similar names.....ive seen this doen in javascript

Old Pedant
12-09-2010, 08:45 AM
??? Really? Where?