Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 08-01-2002, 04:03 AM   PM User | #1
Alias
New Coder

 
Join Date: Jun 2002
Location: EUROPE
Posts: 52
Thanks: 0
Thanked 0 Times in 0 Posts
Alias is an unknown quantity at this point
how to move window ?

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
Alias is offline   Reply With Quote
Old 08-01-2002, 04:11 AM   PM User | #2
glenngv
Supreme Master coder!


 
glenngv's Avatar
 
Join Date: Jun 2002
Location: Los Angeles, CA Original Location: Philippines
Posts: 10,241
Thanks: 0
Thanked 112 Times in 111 Posts
glenngv will become famous soon enough
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);
__________________
Glenn
_____________________________________________
Play Tower of Hanoi Android app (Ad-FREE!)
Play Tower of Hanoi Android app (FREE!)
Go to Tower of Hanoi Leaderboard
Play Tower of Hanoi Facebook app
glenngv is offline   Reply With Quote
Old 08-01-2002, 07:37 PM   PM User | #3
Alias
New Coder

 
Join Date: Jun 2002
Location: EUROPE
Posts: 52
Thanks: 0
Thanked 0 Times in 0 Posts
Alias is an unknown quantity at this point
Thanx

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)
Alias is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 04:59 PM.


Advertisement
Log in to turn off these ads.