Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Mar 2004
    Posts
    23
    Thanks
    0
    Thanked 0 Times in 0 Posts

    combining a .js into another script?

    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>

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

  • #2
    Kor
    Kor is offline
    Red Devil Mod Kor's Avatar
    Join Date
    Apr 2003
    Location
    Bucharest, ROMANIA
    Posts
    8,478
    Thanks
    58
    Thanked 379 Times in 375 Posts
    why? I mean what is your need... It might be better to call the JS ffile from within the new window onload....
    KOR
    Offshore programming
    -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •