By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,726 Members | 1,222 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,726 IT Pros & Developers. It's quick & easy.

Dual monitor moveBy not working in IIS6

P: 6
Programming Language - HTML, JavaScript
Web server : IIS 6
Browser : IE 6 +

I am working in a Dual Monitor screen setup. I have a scenario some times the user move the IE screen from primary monitor to the secondary monitor and close the IE. when they open next time the IE opens in the secondary monitor rather then opening in the primary monitor. I want to make sure when they open my application in IE it should always open in the primary monitor.
The code below is working fine when I place the file in the desktop and opening it. It is properly moving from secondary monitor to the primary monitor. But when I put the same file in IIS, its always opening in the secondary monitor its not at all moving to the primary monitor. I know Client side script is not related to IIS server but still this script is not moving when I place the file in IIS or is there any other way or methods to do this instead of moveBy?
Can anybody help me in this.
Already I tried moveTo also.

function movewindow()
if(window.screenLeft > 1024)
window.moveBy(-window.screenLeft, 0)
<body onload="movewindow()">

Oct 16 '08 #1
Share this Question
Share on Google+
1 Reply

Expert 100+
P: 1,208
more than likely a security setting... when you open it from local machine you get more permissions.
Oct 17 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.