473,414 Members | 1,675 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,414 software developers and data experts.

onMove problem

v
Hi,

For some reason the onMove event handler doesnt seem to work.
Am I doing it right? The script is in a popup window.
rgds,
v

<html>
<body onMove="self.moveTo(250,50)">

.....

</body>
</html>
Jul 23 '05 #1
2 2054
pourquoi pas ? onload="..."
GR
v a écrit:
Hi,

For some reason the onMove event handler doesnt seem to work.
Am I doing it right? The script is in a popup window.
rgds,
v

<html>
<body onMove="self.moveTo(250,50)">

....

</body>
</html>


Jul 23 '05 #2
v wrote:
Hi,

For some reason the onMove event handler doesnt seem to work.
Am I doing it right? The script is in a popup window.

rgds,
v

<html>
<body onMove="self.moveTo(250,50)">
</body>
</html>


Adding an onmove event handler to the <body> simply catches any
elements that are moved on the page, it doesn't detect when the
window is moved. Thank goodness, because if it did, it would
allow such silliness as what you've got above. It's my desktop,
if I want to put the window in the bottom right corner, or on a
second monitor, why aren't you letting me?

Your Web page and the windows the comprise it aren't the only
thing on my desktop (in fact, I may not even let you open new
windows on my desktop), or even the desktop of people in a
corporate environment who might be using your Web-based
application. Nailing a window to a location that might be
inconvenient for the user is being actively hostile.

See <url:
http://msdn.microsoft.com/workshop/a...nts/onmove.asp
/> for an example of how <body onmove="..."> is used.

--
Grant Wagner <gw*****@agricoreunited.com>
comp.lang.javascript FAQ - http://jibbering.com/faq
Jul 23 '05 #3

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

Similar topics

0
by: Bruce Davis | last post by:
I'm having a problem on windows (both 2000 and XP) with a multi-threaded tkinter gui application. The problem appears to be a deadlock condition when a child thread pops up a Pmw dialog window in...
117
by: Peter Olcott | last post by:
www.halting-problem.com
28
by: Jon Davis | last post by:
If I have a class with a virtual method, and a child class that overrides the virtual method, and then I create an instance of the child class AS A base class... BaseClass bc = new ChildClass();...
6
by: Ammar | last post by:
Dear All, I'm facing a small problem. I have a portal web site, that contains articles, for each article, the end user can send a comment about the article. The problem is: I the comment length...
3
by: crafuse | last post by:
Hello, I have an application where I have a main window and several other windows owned by it. The owned windows are derived from a class that overrides the OnMove method so that thay...
16
by: Dany | last post by:
Our web service was working fine until we installed .net Framework 1.1 service pack 1. Uninstalling SP1 is not an option because our largest customer says service packs marked as "critical" by...
2
by: Mike Collins | last post by:
I cannot get the correct drop down list value from a drop down I have on my web form. I get the initial value that was loaded in the list. It was asked by someone else what the autopostback was...
5
by: =?Utf-8?B?Sm9hY2hpbQ==?= | last post by:
How can I get an OnMove message for a UserControl?
1
by: udieee | last post by:
Hi, Could anyone tell me what is NS equivalent for IE onMove() function. TIA, --Udie
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
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...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.