Detect and display users screen resolution?

Discussion in 'HTML & Website Design' started by jazzzyman, Mar 19, 2013.

  1. #1
    Would anyone know any code that would detect the users screen res and display it in a selected position that i select?
    keep in mind i am clueless when it comes to code lol
     
    jazzzyman, Mar 19, 2013 IP
  2. premiumwordpressthemes

    premiumwordpressthemes Active Member

    Messages:
    112
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    96
    #2
    You should try out some javascript. This is an example:

    <script type="text/javascript">
     
    alert("Screen Width x Height: "+screen.width+" x "+screen.height);
     
    </script>
    Code (markup):
     
    premiumwordpressthemes, Mar 20, 2013 IP
  3. jazzzyman

    jazzzyman Well-Known Member

    Messages:
    117
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    103
    #3
    Ok cool thanks will that display the res in a desired location on the page?
     
    jazzzyman, Mar 20, 2013 IP