# Popups don't work! This should be simple

**URL:** <https://forum.kirupa.com/t/popups-dont-work-this-should-be-simple/29892>\
**Category:** Uncategorized\
**Created:** [September 1, 2003, 5:12pm UTC](https://forum.kirupa.com/t/popups-dont-work-this-should-be-simple/29892 "2003-09-01T17:12:06Z")\
**Posts on this page:** 16\
**Page:** 1

<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 1, 2003, 5:12pm UTC](https://forum.kirupa.com/t/popups-dont-work-this-should-be-simple/29892/1 "2003-09-01T17:12:06Z")

</div>

I have been working on this site for a long time. I followed the popup tutorial on Kirupa and have even searched this forum.

I attached this action to my buttons that I want to pop open.

on (release) {  
getURL(“javascript:Launch('[http://www.furraro.com/recipes/marinade\_page1.html](http://www.furraro.com/recipes/marinade_page1.html)”);  
}

Then in my HTML I added this java script:

SCRIPT LANGUAGE=“JavaScript”\>  
function Launch(page) {  
OpenWin = this.open(page, “Furraro Ranch”, “toolbar=no,menubar=no,location=no,scrollbars=yes,resizable=yes,width=525,height=550”);  
}  
/SCRIPT

(I removed the \<\> on purpose so it will show up here)

The pop up windows work on my browser, but they Dont work on any other machine. I use a Mac, they dont seem to open on PC… Whats the deal with them?

The website is:  
[www.furraro.com](http://www.furraro.com)

Anyone have any ideas? Anything would be very helpfull.

---

<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 1, 2003, 5:32pm UTC](https://forum.kirupa.com/t/popups-dont-work-this-should-be-simple/29892/2 "2003-09-01T17:32:53Z")

</div>

Well, I would start by changing this:

```auto

on (release) {
getURL("about :Launch('http://www.furraro.com/recipes/marinade_page1.html");
}

```

to this:

```auto

on (release) {
getURL("about :Launch('http://www.furraro.com/recipes/marinade_page1.html');");
}

```

of course the word ‘about’ is really ‘javascript’. This board removes that. I’d give that a whirl.

I would also use window.open instead of this.open for a popup.

---

<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 1, 2003, 6:09pm UTC](https://forum.kirupa.com/t/popups-dont-work-this-should-be-simple/29892/3 "2003-09-01T18:09:15Z")

</div>

Ok thanks a lot! I made the changes… though, what do you mean exactly when you said "of course the word ‘about’ is really ‘javascript’. This board removes that. " Where do I need to put “\<\>”?

---

<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 1, 2003, 6:22pm UTC](https://forum.kirupa.com/t/popups-dont-work-this-should-be-simple/29892/4 "2003-09-01T18:22:43Z")

</div>

Ok I made those changes…  
Now when I click on one of my links I am taken to this web address:

about:Launch(‘[http://www.furraro.com/map.html](http://www.furraro.com/map.html)’);

It does not open up in a new window. What am I doing wrong?

---

<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 1, 2003, 7:37pm UTC](https://forum.kirupa.com/t/popups-dont-work-this-should-be-simple/29892/5 "2003-09-01T19:37:25Z")

</div>

btt

---

<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 1, 2003, 11:01pm UTC](https://forum.kirupa.com/t/popups-dont-work-this-should-be-simple/29892/6 "2003-09-01T23:01:46Z")

</div>

What I meant is this forum’s bad word filter also filters out the word javascript when it’s followed by a ‘:’. Here, this is what that line of code should look like on a button in your flash movie:  
(sorry - attached text file) :beam:  
Here’s what your script should look like in the \<\*\*HEAD\> of your HTML:

```php

<SCRIPT LANGUAGE="JavaScript"> 
function Launch(page) { 
OpenWin = this.open(page, 'Furraro Ranch', ' toolbar=no,menubar=no,location=no,scrollbars=yes,resizable=yes,width=525,height=550'); 
} 
</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 1, 2003, 11:10pm UTC](https://forum.kirupa.com/t/popups-dont-work-this-should-be-simple/29892/7 "2003-09-01T23:10:22Z")

</div>

You know, in hind sight, I helped Sintax with a multiple popup window thing from Flash to javascript, but I just used what was in the tutorial. Here’s the thread:

[http://www.kirupaforum.com/forums/showthread.php?s=&threadid=32940&highlight=sintax.html](http://www.kirupaforum.com/forums/showthread.php?s=&threadid=32940&highlight=sintax.html)

This is what was acomplished:  
[http://www.freddythunder.com/test/sintax.html](http://www.freddythunder.com/test/sintax.html)

there…😛

---

<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 2, 2003, 6:20am UTC](https://forum.kirupa.com/t/popups-dont-work-this-should-be-simple/29892/8 "2003-09-02T06:20:32Z")

</div>

Ok ok… thanks for your help. Perhaps I am in idiot mode tonight. I followed your code and I STILL can get it. Maybee I need sleep. i attached the EXACT code I am using to this message.

---

<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 2, 2003, 9:31pm UTC](https://forum.kirupa.com/t/popups-dont-work-this-should-be-simple/29892/9 "2003-09-02T21:31:15Z")

</div>

back to top

---

<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 2, 2003, 10:28pm UTC](https://forum.kirupa.com/t/popups-dont-work-this-should-be-simple/29892/10 "2003-09-02T22:28:21Z")

</div>

i dont think the syntax in the text file for the javascript is right, shouldn’t it be:

```php

<SCRIPT LANGUAGE="JavaScript"> 
function Launch(page) { 
OpenWin = this.open(page, 'Furraro Ranch', ' toolbar=no,menubar=no,location=no,scrollbars=yes,resizable=yes,width=525,height=550'); 
} 
</SCRIPT>

```

- Sorry freddy, I stole it from ur post, but it’s not like this in krob’s text file.

---

<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, 2:47am UTC](https://forum.kirupa.com/t/popups-dont-work-this-should-be-simple/29892/11 "2003-09-03T02:47:39Z")

</div>

Thanks.

---

<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, 2:52am UTC](https://forum.kirupa.com/t/popups-dont-work-this-should-be-simple/29892/12 "2003-09-03T02:52:04Z")

</div>

How come the popups dont open in the specified window size either? It must be something simple that I am not picking up on. Thanks again for everyones help.

---

<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, 2:53am UTC](https://forum.kirupa.com/t/popups-dont-work-this-should-be-simple/29892/13 "2003-09-03T02:53:38Z")

</div>

Uhm-- ok so I did everything. The popup windows open. But then my original Flash index.html file ([http://www.furraro.com](http://www.furraro.com)) takes me to this site: [http://furraro.com/undefined](http://furraro.com/undefined)

What is going on? The windows should just pop open and not affect the main web page. Go to [http://www.furraro.com](http://www.furraro.com) and click on the links. You will see what happens. It’s pretty odd.

I attached my code.

---

<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, 2:53pm UTC](https://forum.kirupa.com/t/popups-dont-work-this-should-be-simple/29892/14 "2003-09-03T14:53:54Z")

</div>

btt

---

<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, 3:28pm UTC](https://forum.kirupa.com/t/popups-dont-work-this-should-be-simple/29892/15 "2003-09-03T15:28:56Z")

</div>

```php

OpenWin = this.open(page,'furraro',toolbar=no,menubar=no,location=no,scrollbars=yes,resizable=yes,width=525,height=550);

```

You don’t have the single quote marks around your window options. I believe it needs to be there. Your above code should look like this:

```php

OpenWin = this.open(page,'furraro','toolbar=no,menubar=no,location=no,scrollbars=yes,resizable=yes,width=525,height=550');

```

I also got a bunch of extra wierd characters in your text files - don’t know if that had anything to do with it or not. When you reply, you can use [as] and [php] to display various codes - just take out the spaces between the s and the as or php.

BTW-

> 

Sorry freddy, I stole it from ur post, but it’s not like this in krob’s text file.

That’s okay man, I don’t mind 😛

---

<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 5, 2003, 2:58am UTC](https://forum.kirupa.com/t/popups-dont-work-this-should-be-simple/29892/16 "2003-09-05T02:58:22Z")

</div>

Freddy - thanks a lot for your help.
