The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

javascript newbie...need help with size, address bar and more

Ok I have a page of images. This page when an image is click sends them to a blank page/new page with the image in full size no images will go over 500 x 500 pixels. I already have the php side of things setup to where its an actual htm page with the image source coming from the previous page. Regardless on this new page........what is the javascript code to put in the header to make the window a certain size? Thanks

Now
As noted this is a static page..not coming from another link really.
So I have added...
<script>
self.resizeTo(600,600);
window.value(location=no);
</script>
But that doesnt work to well...it resizes the window..but the address bar is still there, I would like to disable everything including scroll, menu and toolbar. Thanks for you help