Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Oct 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    'Random Image Script' can it be a js include file?

    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.

  • #2
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    18,145
    Thanks
    203
    Thanked 2,547 Times in 2,525 Posts
    Yes, of course it is.

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

  • #3
    New to the CF scene
    Join Date
    Oct 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thanks - what do I then need to put in the cell the images would appear?

    Thanks - what do I then need to put in the cell the images would appear?

    Cheers,

    Adam.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •