Re: Adding a JavaScript file to Dreamweaver html -
10-31-2005
, 06:21 PM
Is the original JS code within the HTML pages or stored in an external .js
file? If it's within the HTML, just copy and paste it between the <head> and
</head> in the new HTML page.
if it's an external file, copy the file and place it in your site wherever you
want. Then, in between the <head> and </head> tags of the new page(s), insert
the following line of code:
<script type="text/javascript" language="javascript" src="location"></script>
where 'location' is the path to the copied .js file |