Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-07-2010, 09:37 PM   PM User | #1
chriscct7
New Coder

 
Join Date: Dec 2010
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
chriscct7 is an unknown quantity at this point
Unhappy Adv. Redirect needed

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).
Thanks
Chris

Not having a good day...plz help make it WAY better.....
chriscct7 is offline   Reply With Quote
Old 12-07-2010, 10:00 PM   PM User | #2
Old Pedant
Supreme Master coder!

 
Old Pedant's Avatar
 
Join Date: Feb 2009
Posts: 23,237
Thanks: 59
Thanked 3,998 Times in 3,967 Posts
Old Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to all
You're talking about a fairly major project here and one that is best *NOT* done using JavaScript.

Look at this thread:
http://www.codingforums.com/showthread.php?t=211336

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

Almost surely this is not a project for JavaScript.
__________________
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.
Old Pedant is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:18 AM.


Advertisement
Log in to turn off these ads.