Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Jquery Screen Object

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 119
    Comment on it

    screen.availHeight:
    This denotes the available height in the screen, i.e., the height of the users screen. Thus, if the screen resolution of the users screen is 1366 768 pixels and the height of the taskbar is 25 pixels, this property will return 768 - 25 = 743 pixels.

    Example :-

    console.log("Available Height: " + screen.availHeight + "px");
    

    screen.availWidth:
    The property will returns the available width of screen.

    Example:-

    console.log("Avail Width: "+ screen.availWidth + "px");
    

    screen.height:
    This property denotes the actual height of the screen.

    Example:-

    console.log("Screen Height: "+ screen.height + "px");
    

    screen.width:
    This property denotes the actual width of the users screen.

    Example:-

    console.log("Screen Height: "+ screen.width + "px");
    

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: