Click to See Complete Forum and Search --> : javascript pop-ups thru frames


drkknght
07-31-2003, 05:16 PM
the quick story:

i purchased a domain name from directnic, intending to redirect the domain to a specific folder on my server. to do that, directnic dynamically creates a frameset on their end, with the site i'm pointing to as the single frame, at 100% width and height.

i created the flash site on my end, uploaded it to a folder on my server, had directnic succesfully direct the domain and everything worked perfectly!

sorta.

it seems that, somewhere, my javascript pop up code got screwy in the mix, because of the frame.

the code works, the popup works, and the site works. i've tested it locally, and by entering the actual, longer URL (not the directnic domain redirect). all the tests work fine.

however, when i type in the directnic URL, then try to open the popup, the button clicks but nothing happens. no window, no error, nothing.

what'd i do?

drkknght
07-31-2003, 05:22 PM
in case you're wondering (and who wouldn't be!), here's the necessary info fer ya:

the name of the directnic domain i purchased:
http://www.batmanandrob.com

its pointing to:
http://www.phausenentertainment.com/0000BATMAN/


the popup code i used:
<SCRIPT LANGUAGE="JavaScript">
function popmovie1() {
window.open('00movies/btas00.htm','','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=n o,width=375,height=275,left=5,top=5');
}
</script>i also tried entering the full URL (the actual URL, not the redirect one) in the above code, but that didn't work, either.

in the actual flash movie, this is the code you put on the link:

on (release) {
getURL("JavaScript:popmovie1();");
gotoAndPlay(500);
}(the "gotoandplay" portion is irrelevant here, its necessary for some other part of the animation, and does not interfere with the popup code)

drkknght
08-02-2003, 04:34 PM
ok, i tried the "display note about every script error" in IE, but didn't get any error. simply put, nothing happens.

then, i tried loading www.batmanandrob.com in ns6 to check out that error info. and here's the kicker -- the popups work in ns6!

still can't figure this out :(

drkknght
08-04-2003, 06:58 PM
um...

please?