codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  position of a page inside a pop-up in javascript  ludaluda at 19:46 on Wednesday, August 30, 2006
 

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.

thx








CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums








Recent Forum Threads
•  Re: $var .= $_; what it mean?
•  Re: Help: Trouble with z-Index and SELECT lists
•  Dynamic crystal report formatting
•  URL rewriting doesnt seem to work with xml sitemap provider and menus
•  This code is not working
•  Re: doubt in asp.net
•  Scraping, Pulling, Calculating, and Displaying
•  Re: How to open a MS Word document from Javascript
•  session time out


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2006