Welcome to WebmasterWorld Guest from 54.145.144.101

Forum Moderators: open

Message Too Old, No Replies

Pop up Windows using Internet Explorer

HTML Browser and Javascript

   
3:25 pm on Apr 10, 2003 (gmt 0)

10+ Year Member



Hello,

I was hoping someone could help me out. I am using Intenet Explorer 6 on XP. I'm creating a Flash website that uses Javascript to open pop up windows in my HTML browser. I noticed that these pop windows work great in Netscape 7.0, but only work locally in Internet Explorer.

When I put the Flash files and HTML files on the server, I get errors when trying to open these pop up windows (through Internet Explorer). The error message I get back is " Cannot find server or DNS Error". I'm not sure what to do because everything works when I use Netscape.

Here's the code in my HTML page that I'm using:
<note: line breaks added in features string - tedster>

<SCRIPT LANGUAGE="JavaScript">

function popup6()
{window.open('wq_anim_a6.htm','',
'toolbar=no,location=no,directories=no,status=no,menubar=no,
scrollbars=no,resizable=no,width=350,height=175,left=0,top=0');
}

function popup7() {window.open('wq_anim_a7.htm','',
'toolbar=no,location=no,directories=no,status=no,menubar=no,
scrollbars=no,resizable=no,width=375,height=175,left=0,top=0');
}

function popup8() {window.open('wq_anim_a8.htm','',
'toolbar=no,location=no,directories=no,status=no,menubar=no,
scrollbars=no,resizable=no,width=375,height=175,left=0,top=0');
}

function popup10() {window.open('wq_anim_a10.htm','',
'toolbar=no,location=no,directories=no,status=no,menubar=no,
scrollbars=no,resizable=no,width=460,height=278,left=0,top=0');
}

</script>

Thanx,

[edited by: tedster at 3:24 am (utc) on April 13, 2003]
[edit reason] stop side scroll [/edit]

4:54 pm on Apr 10, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Are you tring to open windows from flash or open windows with flash from javascript.

You may want to try with full URL ie [mydomain.com...]

leo

8:34 pm on Apr 12, 2003 (gmt 0)

10+ Year Member



A Flash button is assigned some Actionscript that calls a Javascript function in the HTML page. Works great in Netscape. Having Javascript issues with IE 6.0--Doesn't work. I heard that there issues with IE 6.0 and Javascript.

1. This is the Actionscript assigned to a button in Flash (MX)

on (release) {
getURL("JavaScript:popup6();");
}

2.The Javascript is entered after the </head> in the HTML page
<SCRIPT LANGUAGE="JavaScript">

function popup6()
{window.open('wq_anim_a6.htm','',
'toolbar=no,location=no,directories=no,status=no,menubar=no,
scrollbars=no,resizable=no,width=350,height=175,left=0,top=0');
}

</script>

Domain name is either absolute (http://www.mydomain/wq_anim_a6.htm)

or

relative (wq_anim_a6.htm)

It works either way in Netscape