Click to See Complete Forum and Search --> : window.open problem


pelegk1
10-30-2003, 02:00 AM
i do this :
regionWin=window.open("treatMeantRegion.asp","treatmentRegion","treatmentArea","toolbar=No, location=No, directories=NO,status=No, menubar=No, scrollbars=Yes,resizable=NO,width=50,height=50,left=100,top=150");

but the window that opens is at leat 350*250
why is that!?:(
thnaks in advance
peleg

fredmv
10-30-2003, 02:03 AM
It's because you can't open a window that small. The smallest dimensions posssible are 100x100. ;)

pelegk1
10-30-2003, 02:06 AM
ok i change it to 150*150 but its still the same

fredmv
10-30-2003, 02:15 AM
You must be doing something wrong then. I just did a simple test myself. Here's the code I used:<a href="http://www.google.com/" onclick="window.open( this.href, '', 'height=150,width=150' );return false;">Google</a>That opens a 150x150 window with Google loaded into it. Try making it open a 100x100 window, you will see a difference in size for sure. ;)

pelegk1
10-30-2003, 02:21 AM
i wrote by mistake "treatmentArea" in the place where the eatures should be:)
10x:) anyway
P