Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Dec 2010
    Thanked 0 Times in 0 Posts

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

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

  2. AdSlot6
  3. #2
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Thanked 4,945 Times in 4,906 Posts
    You're talking about a fairly major project here and one that is best *NOT* done using JavaScript.

    Look at this thread:
    Very basic MOBILE JavaScript browser detection? please read!

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

    Almost surely this is not a project for JavaScript.
    Be yourself. No one else is as qualified.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts