homepage Welcome to WebmasterWorld Guest from 54.197.147.90
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

    
Pop up Windows using Internet Explorer
HTML Browser and Javascript
Wingquest




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

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]

 

le_gber




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

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

Wingquest




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

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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved