Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

changing the browser window size

Status
Not open for further replies.

mattbold

Programmer
Oct 5, 2001
45
GB
hi,
i am using "document.location = url" to get from one page to another, and this works, but i want it if possible to change the size of the browser window (it's currently 600 wide by 300 tall, and displays no toolbars, iconbars or menus or anything at the top) to become taller once the new page that the url points to is opened... ? could anyone please tell me how to do this ?

many thanks,
matt
 
Here is the function...
U must use window.open method...
Code:
window.open("Sample.htm","_self",
    "height=200,width=400,status=yes,toolbar=no,menubar=no,location=no");
Hope this helps...
________
George, M
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top