| Java in seperate file
|
NeedScripts

msg:939347 | 5:55 am on Sep 24, 2002 (gmt 0) | If I have a loads of java on the site and am wanting to move it to seperate file, how do I do it? Thanks for the help :)
|
pageoneresults

msg:939348 | 6:21 am on Sep 24, 2002 (gmt 0) | Open up Note Pad. Cut and paste your javascript into a new document. Include everything between <!-- and // -->, also include those. Then do a save as and append the file name with the .js extension. Upload to root or wherever you wish and then call it from the <head> section of your document with this... <script type="text/javascript" src="http://www.domain.com/file-name.js"></script>
|
NeedScripts

msg:939349 | 6:29 am on Sep 24, 2002 (gmt 0) | Cool. Thanks for the help :) and quick reply :)
|
|
|