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...
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...
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?...
,Hi,      <!DOCTYPE html>  <html>  <body>   <div style="text-align:center">    <button onclick="playPause()">Play/Pause</button>    <button onclick="makeBig()">Big</button>   <...
I've created this small test page, that prints the window.screenX and screenY in a loop, it fails to update the values on chrome      Version 67.0.3396.79 (Official Build) (64-bit) on mac   (works fine on Safari and FF):    const wrapper = docume...
Is it possible in JavaScript to detect if the browser's monitor supports HDR?  I have the requirement to display a HDR certificate on a webpage when the visitor is using a HDR monitor, but I've expressed to the client that this might not be p...
I have a large banner that contains a slider on my site, the position is absolute, because the banner is so wide  when I look at it on smaller screens , all you can see is the left side of it.  I was originally using media screen only to adjust for m...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.