Javascript problem - I don't know what to do about it?!?!  
Author Message
johnsonholding





PostPosted: 2006-3-27 10:27:00 Top

java-programmer, Javascript problem - I don't know what to do about it?!?! 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 + "',
'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=194,height=146,left
= 440,top = 288');");
}
// End -->
</script>

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?

 
raisenero





PostPosted: 2006-3-27 13:20:00 Top

java-programmer >> Javascript problem - I don't know what to do about it?!?! I see this was cross-posted to comp.lang.javascript, which is the
proper place for your question. JavaScript is a different language
unrelated to the Java programming language.

 
johnsonholding@yahoo.com





PostPosted: 2006-3-27 21:59:00 Top

java-programmer >> Javascript problem - I don't know what to do about it?!?! Thanks, sorry about that.