Microsoft
Software
Hardware
Network
Question : Detect dual monitor via javascript
What I think I want an answer to is, via javascript, can I detect if a user is running one or two monitors? If one monitor, then I want to launch my app fullscreen=yes. If two, I want to launch it by getting the max size. width=' + screen.width + ',height=' + screen.height;.
I'm using the window.open function.
I have the code to do one or the other but not the conditional logic to implement it.
We are an IE only environment (currently IE6)
Why you may ask? We've found that if IE is launched on the 'primary' monitor, everything works fine. But many folks are now getting dual monitors within our company, and if their IE is launched on the secondary monitor, the fullscreen=y doesn't work right. It does not appear but shows up in taskmgr and you have to kill it.
Answer : Detect dual monitor via javascript
I don't think that there is a way to determine this with JavaScript (nor CSS for that matter).
If the experts can suggest a way I would be interested, but I don't think there is.
Random Solutions
Best way to make users stay within ranges and warn users of conflicts
How to disable multitasking on iOS4 iPhone 3G ?
Java Calculator Problem
General User Login Issue "Your account is configured to prevent you from using this computer."
Linksys router / internet page not displaying
Extend timout in web.config for session variables
Textbox add button click onBlur
Calling FancyBox from Flash Actionscript 3
Refresh after editing LinqDataSource via Gridview causes: "Row not found or changed" error
ASP.NET - why would I get this error on my host when I do not get it on my localhost