PDA

View Full Version : Javascript link for web pages??


Seb
10-07-2003, 17:27
Does any body know how/or if its possible, to link your webpages to a file which lists all of your javascript procedures. I want to do this to save having to enter them all on each separate webpage?

Soulgirl
12-07-2003, 12:00
don't they have to be in the header of each page? Im no web expert but when I add a new procedure I pull up my main page and copy the html just before where I want to add my new script then use a nifty proggie called iCart Lightening to search and replace text - therefore I can paste the html just before the instert then paste the text again but add the additional text. This program allows you to select multiple files so replaces that text in one fail swoop. Then upload in one go.

Is that the kind of operation you were looking for?

cjll3
12-07-2003, 12:13
<script src="functions.js" language="JavaScript" type="text/javascript">
</script>

Seb
12-07-2003, 17:47
Yer cheers, i have got it all sorted now, TFTH