Click to See Complete Forum and Search --> : New Window...specified placement


Chaos
01-21-2003, 09:33 AM
I have been using a couple of different peices of JS to open new browser windows, however, I am looking for the appropriate syntax to add to specify, where of the page the window opens. I have exhausted my ability and have not come up witha solution that works, any help would be truly appreciated.

Thanks...

Below is the code I have been using most recently.

<a href="javascript:location='home.asp';window.open('bvsp_offer.asp','Miscellaneous1','HEIGHT=388,WIDTH=620,s crollbars=no,toolbar=no,status=no,menubar=no,location=no,resizable=no')"><img src="images/bvsp_offerlink.gif" border="0" align="right"></a>

pyro
01-21-2003, 10:01 AM
You were getting close...lol

just add left=100,top=100 to position it 100px from the top and left...

Chaos
01-21-2003, 10:20 AM
Thank you thank you! That was easy and the thing is now rolling it should be. My approach had been much to complicated I guess...Sometimes the answer is right before your eyes and you can't see it!

Thanks again!

Chaos