View Full Version : Window size/options javascript problems

03-12-2005, 01:16 AM
I am new to programming and am having difficulty explaining what I need. I have is a php page that is 270 pixels x 280 pixels in size with the toolbars, scroll bars, resize, status and other options turned off. I need to make this little login box or little page become full size with the tollbars, scroll bars and the other items back just like a normal browser window would look. This is what I crrrently have:
<script type="text/javascript">
window.moveTo(0, 0);
window.resizeTo(screen.availWidth, screen.availHeight);
This seems to work ok, but I do not have the toolbars, etc back. I have found a few sites that show code something like: window.open('toolbar=yes', 'location=yes', 'menubar=yes', 'scrollbars=yes'..........so on and so forth. I just cant figure out how to make this happen. Can anyone help me with this problem???

03-12-2005, 06:11 AM
there is some code that is making your site not have those items, because by default every browser window has them, we would need to see the page in question, is there a link that you click to open that newly sized window?