A Digital Age Deserves A Digital Leader

Change Popup Properties from within the Popup

Change Popup Properties from within the Popup

Postby NoReflex » Wed Oct 03, 2007 8:57 pm

Hello!

I encountered a problem when trying to display a popup on a website and since I'm not very JavaScript savvy I thought to ask you guys for some help.
Basically what I want to do is to modify some of the popup parameters inside the onload event (parameters like location, status, scrollbars, width, height).
I can't control the link that opens the popup so I cant use something like this :
Code: Select all
 function mypopup()
 {
   mywindow = window.open ("http://www.somesite.com",
  "mywindow","location=1,status=1,scrollbars=1,
  width=100,height=100");
  mywindow.moveTo(0,0);
 }


I need to modify these parameters from within the popup.

I don't even know if it's possible...

Any help would be appreciated! Thank you in advance!

Best wishes,
John!
PRO Level 10
User avatar
Posts: 431
Joined: Wed Nov 17, 2004 8:41 pm
Location: Romania

Return to HTML, CSS, and Scripts

Who is online

Users browsing this forum: No registered users and 2 guests

cron
cron