View Full Version : combining a .js into another script?

03-16-2004, 06:27 PM
Is there a way to add a .js call into another script?

Let's say this is the .js and below it is the script is there a way to combine them where the script is read and then the .js file is called???

<script SRC="http://www.mysite.com/1stc/myfolder/code.js"></script>

{myWin = open('', 'winin','top=10,left=10,toolbar=0,menubar=0,scrollbars=1,status=0,resizable=1,width=650,height=460') ;
myWin.location = 'http://www.mysite.com/window/2nd/myfolder/index.html';}

03-17-2004, 09:24 AM
why? I mean what is your need... It might be better to call the JS ffile from within the new window onload....