TeamPhotoshop
Reviews, updates and in depth guides to your favourite mobile games - AppGamer.com
Forum Home Latest Posts Search Help Subscribe

atuo-forward to a popup

Page: 1 Reply
Feb 6th 2002#29690 Report
Member since: Dec 20th 2001
Posts: 13
ok, so i did some research and found out most of the answers to my previous response, now i believe i have a much more simple question. what i want to do is set something up so that when you go to a page you are auto-forwarded but to a pop-up, a popup of a specified size. how would i go about that? thanks again for your help
Reply with Quote Reply
Feb 6th 2002#29693 Report
Member since: Mar 27th 2001
Posts: 2237
In the head section (of the pop up) between script tags
[CODE]
funXXXction sizedwin(){
window.moveTo(0,0)
window.resizeTo(200,200);
}
[/CODE]
Delete the .XXX in function
change the "move to" numbers to where you want the window to be on the screen -relative to the upper left corner- (0,0 is extreme top left

Change the "resize to" numbers to whatever size you want the pop-up window.

In the "start body tag of the pop up you are directing to
Onload="sizedwin()" to call the script when the pop-up loads.
Reply with Quote Reply
Page: 1 Back to top
Please login or register above to post in this forum