Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Pop up window won't stop popping up! Help please!

Thread Tools

Pop up window won't stop popping up! Help please!
Posts: n/a
Here is the script I have in my page :

<!-- Begin
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " =, '" + id + "',
'toolbar=0,scrollbars=0,location=0,statusbar=0,men ubar=0,resizable=0,width=194,height=146,left
= 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?

Reply With Quote
Posts: n/a
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="clsid27CDB6E-AE6D-11cf-96B8-444553540000"
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"

Any help is appreciated.

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't stop windows installer popping up when trying to select objects. petert Computer Support 2 12-20-2008 04:45 AM
Dial Up Networking window popping up problem. sh4d03 Computer Security 27 01-24-2005 07:47 AM
dial up pop up keeps popping up milo Computer Information 5 04-10-2004 12:24 PM
Forms Authentication Popping Up Basic Auth Window? Steve - DND ASP .Net 0 01-07-2004 07:17 PM
Pop-ups keep a popping and IE keeps hanging JnlSeb Computer Information 0 11-04-2003 09:27 PM