Change Popup Properties from within the Popup
1 post
• Page 1 of 1
Change Popup Properties from within the Popup
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!
1 post
• Page 1 of 1
Return to HTML, CSS, and Scripts
Who is online
Users browsing this forum: No registered users and 2 guests