# Javascript:open new window

**URL:** <https://forum.kirupa.com/t/javascript-open-new-window/154890>\
**Category:** Uncategorized\
**Created:** [July 13, 2005, 11:41am UTC](https://forum.kirupa.com/t/javascript-open-new-window/154890 "2005-07-13T11:41:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chrissyb](https://avatars.discourse-cdn.com/v4/letter/c/ce73a5/32.png) [@chrissyb](https://forum.kirupa.com/u/chrissyb)\
**Post date:** [July 13, 2005, 11:41am UTC](https://forum.kirupa.com/t/javascript-open-new-window/154890/1 "2005-07-13T11:41:39Z")

</div>

Kirpu provides a great little tutorial on this function, I had been using this version (slightly different)

on (release) {  
getURL(“javascript:openNewWindow(‘[http://www.10-room.co.uk/guidelines.htm’,‘thewin’,'height=400,width=400,toolbar=no,scrollbars=yes](http://www.10-room.co.uk/guidelines.htm','thewin','height=400,width=400,toolbar=no,scrollbars=yes)’)”);  
}

I have posted this problem everywhere to no avail. Basically I support two sites on DIFFERENT SERVERS the simple function above works with in one movie but not in the other - even thought it is EXACTLY the same code. Even interchanging movies to the other site means the code works.

I could only think it was an issue with the server - but other think this is a ridiculous notion! Can anybody shed any light on this. [www.10-room.co.uk, [url=“http://www.eventsat10.co.uk”]www.eventsat10.co.uk](http://www.10-room.co.uk).

Eternally grateful - Chris
