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

    Exclamation Redirect Help Needed

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

  • #2
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    17,918
    Thanks
    203
    Thanked 2,531 Times in 2,509 Posts
    Double posted.
    Please read the forum rule 1.2.

  • #3
    New Coder
    Join Date
    Dec 2010
    Posts
    18
    Thanks
    0
    Thanked 0 Times in 0 Posts
    my apologies...im new to the forum....still need help though

  • #4
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    17,918
    Thanks
    203
    Thanked 2,531 Times in 2,509 Posts
    Have you looked at the response you were given in
    Adv. Redirect needed


    The answer is that this is not suitable for Javascript

  • #5
    New Coder
    Join Date
    Dec 2010
    Posts
    18
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Well i have seen in done in Java....but if you want to give me the source files in PHP let me know

  • #6
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    25,166
    Thanks
    75
    Thanked 4,338 Times in 4,304 Posts
    Java, yes. Java isn't 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.

  • #7
    New Coder
    Join Date
    Dec 2010
    Posts
    18
    Thanks
    0
    Thanked 0 Times in 0 Posts
    lol meant Javascript...forogt that hte 2 languages have similar names.....ive seen this doen in javascript

  • #8
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    25,166
    Thanks
    75
    Thanked 4,338 Times in 4,304 Posts
    ??? Really? Where?
    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.


  •  

    Posting Permissions

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