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 3 of 3
  1. #1
    Regular Coder
    Join Date
    Jun 2002
    Posts
    905
    Thanks
    23
    Thanked 5 Times in 5 Posts

    Can Java Script do this?

    hey there,
    ok i redesigned one of my sites.. and i did it in a large screen res..and it looks odd in others.. im thinking instead of teakin to work in others which will not work im gona make two designs the same but size diferences 800X600 and above.. is there a java script out there on the net so that it detics if you are using either 800x600 and loads a certain page and if not it loads a diferent page.. is this possible? if theres not a script... argh any good tuts?
    ok thanks for any feedback.
    sir p

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Posts
    624
    Thanks
    0
    Thanked 0 Times in 0 Posts

  • #3
    Regular Coder
    Join Date
    Jun 2002
    Location
    United Kingdom Confused: Often
    Posts
    859
    Thanks
    0
    Thanked 0 Times in 0 Posts
    this what your looking for? it will re-direct anyone using 800x600... you can add to it fo other resolutions.

    <script>
    var screenres=screen.width+"x"+screen.height;
    if (screenres=="800x600") {
    window.location="800x600index.html"
    }
    </script>

    happy coding
    redhead


  •  

    Posting Permissions

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