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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

location of the popup window 1

Status
Not open for further replies.

Mariootje

Programmer
Joined
Aug 10, 2001
Messages
33
Location
NL
Hello,

Using the following js I open a new window:
<a href=&quot;&quot; target=&quot;_blank&quot; onClick=&quot;window.open('name.asp','trefwoord', 'height=275, width=235, menubar=no, directories=no, location=no, resizable=no, scrollbars=no, toolbar=no, status=no');return false;&quot;><img src=&quot;imamge.gif&quot;></a>

This gives a nice new window, but is there a way to specify the place where the window &quot;pops-up&quot;

Thanks, Mariootje
 
Hi Mario,

with top en left

onClick=&quot;window.open('name.asp','trefwoord', 'height=275, width=235, top=200,left=100, menubar=no, directories=no, location=no, resizable=no, scrollbars=no, toolbar=no, status=no');return false;&quot;

Erik

 
Thanks Erik, just so easy and so useful!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top