Results 1 to 3 of 3

Thread: Trying to put the Fade-In Slideshow in a separate JS file

  1. #1
    Join Date
    Jun 2006
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Trying to put the Fade-In Slideshow in a separate JS file

    1) Script Title: Ultimate Fade-In Slideshow

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

    3) Describe problem:

    In order for my page to validate I have attempted to place the code for the slide show in a separate JavaScript file. However I must have done something wrong because the slide show is appearing in the wrong position on the page, and I'm getting some random code showing up where the slide show is meant to be:-

    http://www.jokersfuncasinos.co.uk/dev/

    In the header and I have...

    Code:
    <script src="slideshow.js" type="text/javascript">
    /***********************************************
    * Ultimate Fade-In Slideshow (v1.5): © Dynamic Drive (http://www.dynamicdrive.com)
    * This notice MUST stay intact for legal use
    * Visit http://www.dynamicdrive.com/ for this script and 100s more.
    ***********************************************/
    </script>
    And in the body I have...
    Code:
    <script type="text/javascript">
    //new fadeshow(IMAGES_ARRAY_NAME, slideshow_width, slideshow_height, borderwidth, delay, pause (0=no, 1=yes), optionalRandomOrder)
    new fadeshow(fadeimages, 380, 252, 0, 3000, 0, "R")
    </script>
    Any help would be really appreciated.

    Cheers,
    Toby

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    The .js file is corrupt somehow. I tried repasting the original code into your .js file, and things seem fine now. Try the below version.

  3. #3
    Join Date
    Jun 2006
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks for the reply ddadmin. That has fixed the problem...

    http://www.jokersfuncasinos.co.uk/dev/

    Muchos appreciatos! :-)

    Toby

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
  •