Pop up window won't stop popping up! Help please!

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Here is the script I have in my page :

<!-- Begin
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "',
= 440,top = 288');");

// End -->

It opens a new window when the user clicks on a certain link.

Well, somewhere else in the page, I embeded a flash media object and
found out now that everytime the page opens, the pop up window opens
too which is NOT what I want.  I want the Popup window to only open
when the user clicks on a text link (which it did work perfectly until
I put in the flash object).

So why is the flash object calling the popup window instead of just
playing like it is supposed to?

Re: Pop up window won't stop popping up! Help please!

Ok, here is my newest version of the script :

function jumpUp(URL) {
              "w"+(new Date()).getTime(),


And here is the Call to for the Popup window :

<a href="javascript: jumpUp('webmovies/reverse_flash.swf')">preview</a>

Works in Firefox, but I get an error in IE 6.0

Here is the Flash :
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0 "
width="246" height="172">
                                <param name="movie"
                                <param name="quality"
value="high"><param name="LOOP" value="false">
                                <embed src="flash/knucklehead.swf"
width="246" height="172" loop="false" quality="high"
pluginspage="http://www.macromedia.com/go/getflashplayer "

Any help is appreciated.

Site Timeline