monstermash
Technical User
hello, i have a site where an index page opens a new javascript popup window that contains my actual site, (the pop up window is where all my navigation and actions take place; it is a flash site). the javascript code in my html page is...
<TITLE>StarBand Performance Solutions Portal</TITLE>
<script language="javascript">
function newWindow(url,name,features){
var newWin = window.open(url,name,features);
}
</script>
<META http-equiv="Pragma" content="no-cache">
<META http-equiv="Cache-Control" content="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="Mon, 06 Jan 1990 00:00:01 GMT">
</HEAD>
<BODY bgcolor="#999999"0" marginwidth="0" leftmargin="0" rightmargin="0" topmargin="0" bottommargin="0">
the code in my flash buttons is...
Javascript:newWindow('pdf/installman3RS.pdf','installman3RS','height=500, width=700, toolbar=0, menubar=0, location=0, scrollbars=1, resizable=1')
send using "post"
as you can see, by pressing this button it brings up a new pop-up window to view a .pdf file, (a different window than what the main site is in. i also have another button right under this one that allows someone to download a .pdf file in .zip format. the code in that button is
on mouse event
get url something.zip
window = "nothing", (not blank)
no variables
this is my problem...if i click to view a file in a new window, everything is fine, if i next click to download a .zip file, everything is fine BUT if the next button i click is to view a file in a new window, it tries to load the file in my main pop-up window instead of a seperate window. this only happens right after i have clicked a button to download a .zip file and then try to click to view a new file in a seperate window. is something happening when i click to download a .zip file that does this???any help would be greatly appreciated. thank you.
<TITLE>StarBand Performance Solutions Portal</TITLE>
<script language="javascript">
function newWindow(url,name,features){
var newWin = window.open(url,name,features);
}
</script>
<META http-equiv="Pragma" content="no-cache">
<META http-equiv="Cache-Control" content="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="Mon, 06 Jan 1990 00:00:01 GMT">
</HEAD>
<BODY bgcolor="#999999"0" marginwidth="0" leftmargin="0" rightmargin="0" topmargin="0" bottommargin="0">
the code in my flash buttons is...
Javascript:newWindow('pdf/installman3RS.pdf','installman3RS','height=500, width=700, toolbar=0, menubar=0, location=0, scrollbars=1, resizable=1')
send using "post"
as you can see, by pressing this button it brings up a new pop-up window to view a .pdf file, (a different window than what the main site is in. i also have another button right under this one that allows someone to download a .pdf file in .zip format. the code in that button is
on mouse event
get url something.zip
window = "nothing", (not blank)
no variables
this is my problem...if i click to view a file in a new window, everything is fine, if i next click to download a .zip file, everything is fine BUT if the next button i click is to view a file in a new window, it tries to load the file in my main pop-up window instead of a seperate window. this only happens right after i have clicked a button to download a .zip file and then try to click to view a new file in a seperate window. is something happening when i click to download a .zip file that does this???any help would be greatly appreciated. thank you.