# Javascript openNewWindow link using external txt file

**URL:** <https://forum.kirupa.com/t/javascript-opennewwindow-link-using-external-txt-file/128962>\
**Category:** Uncategorized\
**Created:** [November 18, 2004, 10:59am UTC](https://forum.kirupa.com/t/javascript-opennewwindow-link-using-external-txt-file/128962 "2004-11-18T10:59:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![matix](https://avatars.discourse-cdn.com/v4/letter/m/bc79bd/32.png) [@matix](https://forum.kirupa.com/u/matix)\
**Post date:** [November 18, 2004, 10:59am UTC](https://forum.kirupa.com/t/javascript-opennewwindow-link-using-external-txt-file/128962/1 "2004-11-18T10:59:23Z")

</div>

I got an external txt-file that loads into a dynamic text box in flash. I’m currently using \<a href=\>\</a\> in the txt-file with target="\_blank" to open links in a new window, but is it possible to use javascript:OpenNewWindow in a way to specify the width, height etc. of the new window.

I’ve used this directly in flash before:

on (release) {  
getURL(“javascript:openNewWindow(‘URL’,height=,width=,toolbar=no,scrollbars=no’)”);  
}

But I don’t know how to use this with the txt-file. Hope someone can guide me in the right direction.
