I was wondering if there was a way to determine the height/width of a browser. What i'm trying to do is set  a height on a div to 500px when the browser size is 1024x768, and for anything lower i'd like to set it to 400px.  Thanks in advanc...
I have a little problem with JavaScript, to get the screen width we use screen.width which returns the overall screen resolution, is there a command to get the resolution of the visible portion of the browser, like when the browser is not maximized?...
I would like the user can not drag the surrounding line of browser and resize the browser when the window size is less than 200 px;  //if ($(window).height > 200){ $(window).resize(function() { after_resize(function(){     Book.zoom_auto();     Bo...
My screen have resolution 1200 x 800 but this script give me 1429 x 893  <script> if (screen) {  var str = "Screen width:" + screen.width + "\n" +            "Screen height:" +  screen.height; alert(str); } </script&g...
I am wondering a little when I look at this code:  // Get the screen height and width var maskHeight = $(document).height(); var maskWidth = $(window).width();  ...  // Get the window height and width var winH = $(window).height(); var winW = $(windo...
I want to add a button to one of our web sites that will allow the user to file a bug with our bug tracking system.  One of the feature requests is that a screen cap of the page in question be sent along.  Without installing something on the end user...
I'm trying to get the available screen size in iPhone Safari in order to shrink a container to the height of the screen, minus the statusbar and toolbar.  Since iOS always returns screen dimensions as though the phone is in portrait orientation,...
I'm programming an Android application, and I would like to do so that it doesn't shut down the screen, ever.Pretty much like a car gps app that keeps the screen on.  Would someone know how to do this with phonegap ? If its not possible in Ja...
If I trace out the screen.width with my DroidX native browser, I first receive 320 as expected, but on subsequent reloads (without changing orientation) I receive 800... why is this?...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.