-
I have two buttons on the main movie. Both are GET URL java pop-ups (javascript:newWindow).
When you press one it's window size opens and the movie plays...BUT...
When you press the main movie window again and press the second button (with the first still running behind the main movie browser window) it loads into the first pop-ups movie window and is therefore the wrong sized window for it.
hope this kinda makes sense...7.44am here in london and been up all night...please help us out!
cheers
-
I'm a hero like Robert De Niro
Hey,
I had the same problem.Replace your java script function with this one:
<SCRIPT LANGUAGE="JavaScript"> var javascript_version = 1.0;</SCRIPT>
<SCRIPT LANGUAGE="JavaScript1.1"> javascript_version = 1.1;</SCRIPT>
<SCRIPT LANGUAGE="JavaScript">
var newwin;
var x=0;
function launchwin(winurl, winname, winfeatures) {
newwin = window.open(winurl,winname+x,winfeatures);
x++;
if (javascript_version > 1.0) {
setTimeout('newwin.focus();',250);
}
}
</SCRIPT>
it will open as many windows you want at the same time and each one will have its fixed parameters.
Good luck,
McMurphy
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|