473,395 Members | 1,581 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Dual monitor moveBy not working in IIS6

Hi,
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.

[HTML]<html>
<head>
<script>
function movewindow()
{
if(window.screenLeft > 1024)
{
window.moveBy(-window.screenLeft, 0)
}
}
</script>
</head>
<body onload="movewindow()">
</body>
</html>[/HTML]

Thanks,
nanban.
Oct 16 '08 #1
1 2991
iam_clint
1,208 Expert 1GB
more than likely a security setting... when you open it from local machine you get more permissions.
Oct 17 '08 #2

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

Similar topics

10
by: KJM | last post by:
How can I detect if the user has dual monitors and then how do I control which monitor a form is displayed on. Currently my forms always come up on my right monitor. What if I want to have it...
1
by: Patrick | last post by:
I 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...
1
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...
0
by: davsun55 | last post by:
I'm looking for a C# code example that show use of a dual monitor. My application will have a control console running on the main monitor (a la powerpoint slideshow), with a display window showing...
2
by: Todd Brooks | last post by:
I have a coclass that implements a dual interface. The thing that's a little unusual is that the coclass doesn't inherit directly from the interface, rather it inherits from an implementation class...
2
by: Mark | last post by:
Experts - I have a laptop running XP docked to a dual monitor setup. I find it quite annoying that even when I undock, I am still on dual monitor setting, which means some of my apps are on the...
3
by: fournij | last post by:
Hi I'm writing a MFC C++ application using Visual .NET. I'm using a Dual Head video card with 2 monitors. I want to start my application in the first monitor but open a dialog box in the...
2
by: Code Monkey | last post by:
Assuming a user has a dual (or more) monitor setup, how do I force a windows form application to open up and display in the default monitor of the system? Thanks in advance Dave.
3
by: kssnatha | last post by:
Hi, I have a issue when i open a popup in dual monitors. I opened a popup from my page using windows.open() method. During popup loading i used both moveTo and resizeTo methods. Its working fine...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
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...
0
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...

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.