# External text and javascript popup - safari problem

**URL:** <https://forum.kirupa.com/t/external-text-and-javascript-popup-safari-problem/187425>\
**Category:** Uncategorized\
**Created:** [April 29, 2006, 1:19am UTC](https://forum.kirupa.com/t/external-text-and-javascript-popup-safari-problem/187425 "2006-04-29T01:19:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![liquify](https://avatars.discourse-cdn.com/v4/letter/l/e95f7d/32.png) [@liquify](https://forum.kirupa.com/u/liquify)\
**Post date:** [April 29, 2006, 1:19am UTC](https://forum.kirupa.com/t/external-text-and-javascript-popup-safari-problem/187425/1 "2006-04-29T01:19:32Z")

</div>

Hi!

I’m loading an external text file to flash which has a javascript link to open a popup window

in the external txt file i have:  
\<a href=“javascript:launch()”\>open popup\</a\>

in the html file in wich the swf is i have:

\<script language=“Javascript”\> function launch() {  
window.open(‘index.html’, ‘popup’, ‘scrollbars=no, height=400, width=470’) }  
\</script\>

this works fine in ie and firefox (both pc and mac) but i can’t make this work in safari…

if i use the \<a href=“javascript:launch()”\>open popup\</a\> code directly in the html file i have no problems… so it should be something between flash (or external txt file) and safari communication.

i also tried the kirupa’s code for pop-ups but i got the same result.

any ideia what it could be?

thanks and sorry about my english 🙂
