patel varsha
how to use client side resolution like width & height in the javascript (asp.net accept)
  • Subramanyam Rompicherla
    Nov, 2009 16

    first you have to find the resolution after that you can  modify your application gui issues

    below i mentioned the code to retrive the resolution using JS
    /*************************************************/
    function GetResolution(){
    var width=screen.width;
    var height=screen.height;
    document.getElementById(
    "hdnresolutionwidth").value=width;
    document.getElementById(
    "hdnresolutionheight").value=height;
    }
    /*********************************************************/

    from this hdn values you can use and chage the GUI settings in your application

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS