How to use a .js file?
javascript
Solution
Just include this line anywhere in your HTML page:
<script type="text/javascript" src="yourfile.js"></script>
Don't forget the closing tag as IE won't recongize it without a separate closing tag.
Problem
I'm sorry for this very newbish question, I'm not much given into web development. I've got this cool JavaScript in a .js file that we want to use on a small web site. (It's a script to run Cooliris on it). How do use the .js file or attach it to my HTML code?