Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

download.php to open a new browser???


Recommended Posts

heres the thought:


i'd like to use the download.php to open a new browser window to a specific size, sans the toolbars etc. Now the trick is that I want to be able to obviously use the dynamic nature of the download.php file to insert the file name to be opened.


in html with some javascript it would look like this:


<script language="JavaScript" type="text/JavaScript">
function openWindow(theURL,winName,features) { //v2.0


<a href="#" onClick="openWindow('filename.htm','Player','resizable=yes,width=320,height=268')">filename</a>



Does anyone have a clue what i need to do to download.php to insert this kind of function?

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...