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!

opening windows

Status
Not open for further replies.

teroy

Programmer
Oct 17, 2000
67
AU
Hi there..I'm using the following to open up a window using javascript

win=window.open("","IRC",optStr);

where optStr="resizable=yes,width=800,height=600,left=0,top=0";

the window opens fine in IE..however..in netscape although the window opens up..it doesn't seem to recognise width and height and doesn't use my values..but rather default values of some sort. Am i using the wrong line of code for Netscape?

Thanks in Advance
 
ahh you have to explicity define every attribute!!

gosh!
works with this

"height=600,width=800,screenX=0,left=0,screenY=0,top=0,channelmode=0,dependent=0,directories=0,fullscreen=0,location=0,menubar=0,resizable=0,scrollbars=0,status=0,toolbar=0"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top