View Full Version : position of a page inside a pop-up in javascript

08-30-2006, 09:42 PM
allright, i got a javascript that make a pop-up, i can redefine the wondow size to whatever, im gonna make it to like 300X100, but the target, sendspace page, appears in my pop-up, but only the top left of the page, how can i select wich area of the senspace page appears in my pop-up, in this case the bottom right, where is the link to download the file poeple wann get when they click on Direct Download Link 1.

Heres my code, simple stuff,

<a href="http://www.sendspace.com/file/xxxxx" target="page" onClick="window.open('','page','toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=350 ,height=230,left=50,top=50,titlebar=no')">Direct Download Link 1</a>

Any suggestions? i believe its something i gotta add, like leftappear=50 or u know what i mean.

at first i though this was the purpose of left= and top= but they make the pop-up banner appear position somewhere in the screen.


08-31-2006, 12:35 AM
god it's the 10th javascript forum im askin this question and i have 0 reply everywhere since 3 days.

Is it so complicated to do?

Or just no one knows how to do that.

Seems a basic thing.