tm1274
03-12-2005, 12: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);
</script>
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???
<script type="text/javascript">
window.moveTo(0, 0);
window.resizeTo(screen.availWidth, screen.availHeight);
</script>
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???