SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Addict
    Join Date
    Aug 2006
    Posts
    375
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Help adding a second instance of JS image rotator

    Hope someone can help with this.

    I've been working on a site that uses some JS to rotate some images near the top - the nice looking ones of the safari lodge :

    http://www.goodsafariguide.com/new/homepagesponsor.php

    Which uses the code :

    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, 472, 218, 0, 3000, 1, "R")
    				</script>
    I'm basically trying to add a second image rotation at the bottom of the left hand panel, showing some sponsors of the site.

    I've made a copy of the JS file, and linked them as so :

    <script type="text/javascript" src="scripts/gallery.js"></script>
    <script type="text/javascript" src="scripts/sponsors.js"></script>

    The original JS file is here :

    Original JS

    And the new JS with referencing the different images is here :

    Sponsors JS

    What do I need to do to get the new JS file to reference the new set of images?

    Hope that makes sense.

    Many thanks.

    EDIT - not sure what's happened now, as both are now showing the little graphics I've done for the awards sponsors....

  2. #2
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,729
    Mentioned
    104 Post(s)
    Tagged
    4 Thread(s)
    You're using version 1.51 of the ultimate fade-in slideshow.

    It is now at version 2.1 and can handle multiple slideshows.
    http://www.dynamicdrive.com/dynamici...nslideshow.htm
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript

  3. #3
    SitePoint Addict
    Join Date
    Aug 2006
    Posts
    375
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks Paul - much appreciated.

    Glad I wasn't just missing something simple at least. All working great now.


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
  •