Results 1 to 3 of 3

Thread: Ultimate Fade-in slideshow (v1.5) External Javascript file?

  1. #1
    Join Date
    Aug 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Ultimate Fade-in slideshow (v1.5) External Javascript file?

    1) Script Title: Ultimate Fade-in slideshow (v1.5)

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...nslideshow.htm

    3) Describe problem:

    I want to put this script into an external .js file and call it into a large number of html pages. I've done this with other scripts successfully, but am baffled with this one as there's two parts to the script. What should I do with the section that goes in the body?

    Hope someone can help!

    Thanks,

    Lois.

  2. #2
    Join Date
    Jul 2006
    Location
    Canada
    Posts
    2,581
    Thanks
    13
    Thanked 28 Times in 28 Posts

    Default

    This is what I'd think it would be:

    Code:
    onload=function() {
    delay, pause (0=no, 1=yes), optionalRandomOrder)
    new fadeshow(fadeimages, 140, 225, 0, 3000, 1, "R")
    new fadeshow(fadeimages2, 140, 225, 0, 3000, 0)
    }
    - Mike

  3. #3
    Join Date
    Aug 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hi mburt, thanks for the quick reply

    Quote Originally Posted by mburt
    This is what I'd think it would be:

    Code:
    onload=function() {
    delay, pause (0=no, 1=yes), optionalRandomOrder)
    new fadeshow(fadeimages, 140, 225, 0, 3000, 1, "R")
    new fadeshow(fadeimages2, 140, 225, 0, 3000, 0)
    }
    Should that go in the body where I want the fadeout to appear, like this?

    Code:
    <script src="fadeimage.js">
    
    onload=function() {
    delay, pause (0=no, 1=yes), optionalRandomOrder)
    new fadeshow(fadeimages, 140, 225, 0, 3000, 1, "R")
    new fadeshow(fadeimages2, 140, 225, 0, 3000, 0)
    }
    </script>

    Or am I misunderstanding....?

Bookmarks

Posting Permissions

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