...

View Full Version : how to move window ?



Alias
08-01-2002, 05:03 AM
How to move whole window ?
- like when you click and drag the title bar
when window is restored.
(of course I mean when you click and drag some area in the BODY)


Best Regards

glenngv
08-01-2002, 05:11 AM
This method moves the window's left edge and top edge to the specified x and y co-ordinates, respectively.

window.moveTo(Xposition,Yposition);


This method is used to move the window a specified number of pixels in relation to its current co-ordinates.

window.moveBy(horizPixels,vertPixels);

Alias
08-01-2002, 08:37 PM
Thanx :p

but, I need to be able to move (drag) window (FULLSCREEN)
with mouse click & drag on specific spot - like DIV or ...

There is good example in chromeless window but I don't know how
to isolate it from whole chromelles script. (http://www.microbians.com/)

I don't want to use chromeless script for fullscreen site,
I prefer simple fullscreen command:
function fullwin() {
maxwin = window.open('html/english/start.html','max','fullscreen=yes');
maxwin.resizeTo(600,400);
}

(for IE only)
:thumbsup:



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum