...

View Full Version : 'Random Image Script' can it be a js include file?



steaknotburger
10-22-2006, 02:30 PM
Hi,

Is it possible for 'Random Image Script' http://www.javascriptkit.com/script/cut144.shtml to be a js include file rather than having to be in the body tag so that I can edit it centrally and apply to multiple pages rather than having to edit each page individually when I have a new image and link to add to the script?

Thanks!

Adam.

Philip M
10-23-2006, 08:40 AM
Yes, of course it is.

<SCRIPT language=JavaScript src="yourfilename.js"></SCRIPT>

steaknotburger
10-23-2006, 12:38 PM
Thanks - what do I then need to put in the cell the images would appear?

Cheers,

Adam.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum