View Single Post
Old 05-09-2008, 11:39 AM   #2
Aarlev
Web Designer
 
Aarlev's Avatar
 
Join Date: Jan 2008
Location: London
Posts: 316
Default

I've never used jQuery but with regular JS you just put your script in the <head> section of your page. Like this..

<head>
<script type="text/javascript">

Your JS Code here

</script>
</head>

Or you can call it externally using <script type="text/javascript" src="yourcode.js"></script>

Then add that .js file to your root directory (or any other, just change the path).

Hope that helps.
__________________
//PORTFOLIO\\
Aarlev is offline   Reply With Quote