Linked Questions
20 questions linked to/from How to get browser width using JavaScript code?
-5
votes
1
answer
288
views
Finding Device width [duplicate]
How to find the device width using the view port meta tag.
Also wants to display the device width in the console with
java script.
22
votes
6
answers
59k
views
Display tooltip in canvas graph
I am using html5 canvas element to draw a graph with dots denoting various points in here.
I want to display different tool-tip on different points on mouse hover.the text to be displayed as tool-tip ...
11
votes
2
answers
78k
views
ASP.NET c# get screen width in pixels
I am trying to retrieve width of my browser in pixels but for some reason I am getting back 640, my resolution is at 1240.
Code I am using is Request.Browser.ScreenPixelsWidth
Does anyone knows why ...
3
votes
6
answers
18k
views
Finding current width of the web page in my browser [closed]
Is there a way I can find out what the current width of the page is? I am trying to create a responsive web page using CSS media queries.
So when I resize the page, can I find out what the current ...
0
votes
7
answers
4k
views
Making three-column HTML responsive
My page width is 960px and I have 3 divs on it in a horizontal manner that collectively take 100% of the width.
When the page width is decreased, I want the divs to be arranged in a vertical manner. ...
4
votes
3
answers
2k
views
Way to determine the visible size of the web page
Is there a way for knowing what size was the visible portion of a page?
Are there any services that provide this? I mean, not just screen resolution, but available browser area. When a user has a lot ...
0
votes
2
answers
3k
views
Canvas takes the whole document body in html and make it hidden but drawable
I found this in a stackoverflow question on how to draw in canvas http://jsfiddle.net/ArtBIT/kneDX/ and now I want the canvas to cover my whole html page. For example:
<body>
<div id="2"&...
3
votes
2
answers
2k
views
Hide Google Maps controls on small screens (mobiles, etc...)
How to hide Map Type option (Map, Satellite...) if the screen si smaller than certain amount of pixels? This is how my Google Maps API V3 code looks like:
var mapOptions = {
center: new ...
0
votes
1
answer
2k
views
Creating a popup menu with bookmarklets
This is my first question, so please give me any pointers on how I could ask better ones.
Anyway, how would I make a togglable menu that displays links, that activates using a bookmarklet. I have ...
0
votes
3
answers
2k
views
Remove scroll function upon window resize/media query
I have a navigation menu set to display:none, which appears upon scroll and disappears once back at the top.
Is there a way to disable the scroll function once I reach a certain breakpoint (ex. max-...
0
votes
2
answers
1k
views
Completely disable horizontal scrolling, also in drop events
I got a html page with a sliding panel on the right. This panel is 200px wide, position: fixed, and its position is initially set to right: -100px (halfway outside of the clientArea). Overflow-x is ...
1
vote
1
answer
216
views
(cross-browsing) Retrieving the avaliable horizontal width and apply it to a div
lets say i have an horizontal webiste ( http://toniweb.us/gm2/ ) and in a certain point i would like to know how much horizontal width is avaliable,
i made this picture so it's easier to understand
...
1
vote
3
answers
829
views
Automatically Animate/Scroll A Div Horizontally On Page Load
I have a seemingly basic question that I can't find any resources in what I am trying to acheive. I'm new to JavaScript and fairly mediocre at CSS.
What I am trying to accomplish is this. A page which ...
5
votes
1
answer
474
views
how to check browser width of browser in shiny app with shinydashboard and change box width accordingly
I wanted to detect browser width. And trigger width change in css if it is too small.
Basically, I want to change box width is 50% screen width if mobile and 20$ screen width if it larger than mobile ...
0
votes
1
answer
365
views
How to wrap all the columns in the GridView to the screenSize in ASP.NET
I have a Gridview, I am trying to wrap all the columns of my Gridview to the screen size(Width= 100%). I tried to set the RowStyle Wrap="true" in the Gridview properties and set the ItemStyle Wrap="...