473,772 Members | 3,731 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

window.screen.w idth on dual display systems


(Note: I'm not trying to do anything stupid based on the user's screen size
- I'm just curious.)
At work today I was looking at the visitor statistics for a client website,
and noticed that the recorded screen resolutions included results that
clearly referred to dual display systems - 2560 by 1024, for example. The
statistics package is obtaining this data from window.screen.w idth. I
wasn't aware of this behaviour of window.screen.w idth, so I tested it on my
dual display system in Internet Explorer 6 and 7 and the latest versions of
Firefox, Opera, and Safari. All returned 1680 by 1050, regardless of
whether the window was on one screen or stretched across two (a Google
search suggested stretching the window across two screens would lead to
window.screen.w idth reporting the combined width).
Does anyone know which browser-platform combinations report the total width
on dual display systems? I've temporarily set my own site to log screen
widths and heights and user-agent strings, but after several hours there
haven't been any double-width reports, so I though I'd ask here in case
anyone knew. Like I said, it's just for curiousity so you don't need to
worry about me doing anything stupid based on the user's screen size.
--
Safalra (Stephen Morley)

Sortable Tables In javascript:
http://www.safalra.com/web-design/ja...rtable-tables/
Oct 11 '07 #1
3 6797
Safalra (Stephen Morley) wrote:
At work today I was looking at the visitor statistics for a client website,
and noticed that the recorded screen resolutions included results that
clearly referred to dual display systems - 2560 by 1024, for example.
Not necessarily. Virtual desktops are not restricted to dual- or
multi-display use.
PointedEars
Oct 11 '07 #2
On Thu, 11 Oct 2007 22:58:57 +0200, Thomas 'PointedEars' Lahn wrote:
Safalra (Stephen Morley) wrote:
>At work today I was looking at the visitor statistics for a client website,
and noticed that the recorded screen resolutions included results that
clearly referred to dual display systems - 2560 by 1024, for example.

Not necessarily. Virtual desktops are not restricted to dual- or
multi-display use.

Ah Thomas, you always know what to say to make me feel stupid... :-) You're
right of course. It might probably also explain the screen resolutions with
crazy ratios - 640:427 and 126:95 for example.

--
Safalra (Stephen Morley)

Sortable Tables In javascript:
http://www.safalra.com/web-design/ja...rtable-tables/
Oct 12 '07 #3
Safalra (Stephen Morley) wrote:
On Thu, 11 Oct 2007 22:58:57 +0200, Thomas 'PointedEars' Lahn wrote:
>Safalra (Stephen Morley) wrote:
>>At work today I was looking at the visitor statistics for a client website,
and noticed that the recorded screen resolutions included results that
clearly referred to dual display systems - 2560 by 1024, for example.
Not necessarily. Virtual desktops are not restricted to dual- or
multi-display use.

Ah Thomas, you always know what to say to make me feel stupid... :-)
Sorry :)
You're right of course. It might probably also explain the screen
resolutions with crazy ratios - 640:427 and 126:95 for example.
There is also the possibility that, whenever the window size or viewport
size was greater than the *assumed* display resolution, the window size or
viewport size was logged instead. A height of 427 would fit for the latter,
as that is about the height of my viewport in Firefox with a window size of
800x600 pixels.
Regards,

PointedEars
--
var bugRiddenCrashP ronePieceOfJunk = (
navigator.userA gent.indexOf('M SIE 5') != -1
&& navigator.userA gent.indexOf('M ac') != -1
) // Plone, register_functi on.js:16
Oct 12 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
5368
by: Randell D. | last post by:
HELP! Its taken me ages - I'm a newbie and I've compiled bits of code that I've read in this newsgroup over time to create one of my most intricate functions to date... Basically, the script gets called with a single arguement (full path to an image). The image is supposed to be downloaded to the cache, and when complete, a new window opened that is slightly larger insize then the images dimensions... The new window will contain the...
5
1570
by: Brandon Potter | last post by:
Forgive me if this has already been covered... I use dual displays and have 2 - 3 Visual Studio .NET 2003's open at the same time, however, without fail, at some point during my session, the title bar and border of one of the VS.NET's copies 1/2 of its height and 1/2 of its width, so I end up with this floating titlebar and border taking up the lower left corner of my 2nd monitor with an invalidated paint area. Is there a fix?
6
5645
by: David Hayes | last post by:
juglesh <juglesh@nospamRadioKDUG.com> wrote in "Re: how to maximize the browser window that fits the monitor size?" (Saturday, January 01, 2005 3:12 AM): > > >I want to maximize the browser window when I open a new window. > > function expand() { > window.moveTo(0,0); > window.resizeTo(screen.availWidth, screen.availHeight); > }
14
11096
by: D. Alvarado | last post by:
Hello, I am trying to open a window containing an image and I would like the image to be flush against the window -- i.e. have no padding or border. Can I make this happen with a single call to a window.open function? I would prefer not to create a separate HTML page. So far all I have is the basic var cwin = window.open('images/KJV-THANKS.gif', 'Thanks', 'width=243,height=420,'); cwin.focus();
10
11621
by: santiago538 | last post by:
Hi, Is there any way to specify which monitor a Window.open() will launch a new browser window in on systems with more than one display. It would only need to work with Mozilla browsers, and not IE. Thanks!
1
7807
by: Patrick | last post by:
need some code for getting screenshots from the secondary monitor on dual monitor display. Here's a bit of the code for a screen from the primary monitor. Bitmap MyImage = new Bitmap(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height, g1); For the second monitor I can use the Screen.Allscreens method to get and array of the screens. So far that is looking like this...
4
6408
by: alexandre.brisebois | last post by:
Hi, I am using access 2003, I would like to know if there is an option to reorganize the tables in a maner that is readable, as we can do in sql sever 2000 or 2005. I have been given a database to look a and I am loosing tremendious amounts of time trying to organize it so that I could view it. Regards, Alexandre Brisebois
7
4521
by: Bill Nguyen | last post by:
This has been posted before but received no response: I need to arrange window screens on the total area of a mulitple-mopnitor desktop. As an example, below is the bound info for my 2-monitor PC: Device Name: \\.\DISPLAY1 Bounds: {X=1152,Y=0,Width=1152,Height=864} Primary Screen: False
9
2596
by: tshad | last post by:
This was posted before but the message got messed up (all NLs were stripped out for some reason). I have 2 labels that hold the name of different images on my .aspx page. <asp:Label ID="Logo" runat="server"/> <asp:Label ID="CompanyPicture" runat="server"/> I have 2 links that open the windows to preview these images. The previewed images are done on separate html pages that do nothing but display the
0
9620
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9454
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10104
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10038
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9912
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7460
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5354
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4007
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2850
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.