# Pop-up not working

**URL:** <https://forum.kirupa.com/t/pop-up-not-working/30037>\
**Category:** flash\
**Created:** [September 3, 2003, 4:39am UTC](https://forum.kirupa.com/t/pop-up-not-working/30037 "2003-09-03T04:39:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tommy69](https://avatars.discourse-cdn.com/v4/letter/t/91b2a8/32.png) [@tommy69](https://forum.kirupa.com/u/tommy69)\
**Post date:** [September 3, 2003, 4:39am UTC](https://forum.kirupa.com/t/pop-up-not-working/30037/1 "2003-09-03T04:39:01Z")

</div>

hi,  
i’m having problem trying to get this working and just wondering if anyone is keen to get me out of my misery.  
i made a scroller with some dynamic text in it and i wanted to make a single word (dynamic) as a hyperlink to a pop-up html file which actually define the word. so in flash mx, i put javascript :Launch(‘[http://www.geocities.com/link/dynamic.html](http://www.geocities.com/link/dynamic.html)’) in the URL field in properties. When i published the animation, it generated my html file which i then edit it in Notepad. This is what i did, i put the following code

\<SCRIPT LANGUAGE=“JavaScript”\>  
\<!-- Begin  
function Launch(page) {  
OpenWin = this.open(page, “KirupaStyle”, “toolbar=no,menubar=no,location=no,scrollbars=no,resizable=yes,width=550,height=250”);  
}  
// End --\>  
\</SCRIPT\>

anywhere between the \<Body\> and \</Body\> tags of my html file.  
And that was all that i did.

Now when i’m in preview mode, i clicked on “dynamic” and there’s no pop-up but the Yahoo! default page with the url  
[http://www.geocities.com/link/javascript%20:Launch(‘http://www.geocities.com/link/dynamic.html’)](http://www.geocities.com/link/javascript%20:Launch('http://www.geocities.com/link/dynamic.html'))

Any idea? Any help would be greatly appreciated.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 3, 2003, 11:15am UTC](https://forum.kirupa.com/t/pop-up-not-working/30037/2 "2003-09-03T11:15:46Z")

</div>

We can’t see the code you used, place PHP tags around them.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 3, 2003, 9:30pm UTC](https://forum.kirupa.com/t/pop-up-not-working/30037/3 "2003-09-03T21:30:38Z")

</div>

Oops!..ok here it is

```php
<SCRIPT LANGUAGE="JavaScript"> 
<!-- Begin 
function Launch(page) { 
OpenWin = this.open(page, "dynamic", "toolbar=no,menubar=no,location=no,scrollbars=no,resizable=yes,width=350,height=550"); 
} 
// End --> 
</SCRIPT> 

```

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 4, 2003, 3:26pm UTC](https://forum.kirupa.com/t/pop-up-not-working/30037/4 "2003-09-04T15:26:12Z")

</div>

Try replacing it with

```php
<SCRIPT LANGUAGE="JavaScript"> 
function Launch(page) { 
window.open(page, 'dynamic', 'toolbar=no,menubar=no,location=no,scrollbars=no,resizable=yes,width=350,height=550'); 
} 
</SCRIPT>

```
