Forum Moderators: open
It's pretty common to set attributes when you open a new window, like this:
window.open ('/SomePage.html', 'NewPage', 'width=720,height=400,resizable=Yes,left=50,top=70,status=no,location=no,alwaysRaised=yes,toolbar=no,scrollbars=yes');
As you can see, with this command, I can open a new window, set it's size, hide the toolbar, etc...
But can I do this for the window I'm currently in, without having to open a new window?
In other words, I will have a user that is directed to my page with a link in an email. When he gets to my page, I want the page to take on specific attributes, such as size, hide the toolbar, hide the status bar, etc, but I don't want to have to send him to yet another page to do it.
Is there a method I can use to apply these kinds of attributes to the window that is currently opening? Should I be looking to CSS to do this, instead of JS?
Any help will be appreciated!
-Moz