Results 1 to 2 of 2

Thread: Need Help with Fade In SlideShow

  1. #1
    Join Date
    Feb 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Need Help with Fade In SlideShow

    Script Title: Ultimate Fade-in slideshow (v2.4)

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

    Describe problem:

    Thanks in advance for any help you can give. Here's my issue. I have used this script before, and it's great, but for a recent application i needed to make a fade-in slideshow with images (pngs) that have transparent backgrounds (because it looks better on the site than with the black background as the images have some transparency as well). I therefore modified the .js file to accomodate this by changing black to transparent. My problem is this: It looks great when an image fades in, but when the next image comes in, the previous one disappears completely and doesn't "fade out" like the samples on the webpage listed above.

    Here is the site I am talking about: http://www.lettersforaleitha.com/

    I don't know if my modification has anything to do with the issue, or if it has arisen for some other reason. do you have any advice on how to fix this? Thanks again!

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Revert to the official version of the script.

    Update the jQuery version. Change this:

    Code:
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
    to:

    Code:
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>
    Add the highlighted as shown:

    Code:
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>
    
    <script type="text/javascript" src="http://turtlebacklane.com/trans_fadeslideshow.js">
    
    /***********************************************
    * Ultimate Fade In Slideshow v2.0- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
    * This notice MUST stay intact for legal use
    * Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more
    ***********************************************/
    
    </script>
    <style type="text/css">
    #fadeshow1, #fadeshow1 .gallerylayer {
    	margin: auto;
    	background-color: transparent !important;
    	background-image: url(http://www.lettersforaleitha.com/files/theme/bodybg.jpg?583085) !important;
    	background-position: -490px -478px !important;
    }
    </style>
    <script 
    type="text/javascript">
    
    var mygallery=new fadeSlideShow({
    	wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow
    	dimensions: [825,428], //width/height of gallery in pixels. Should reflect dimensions of largest image
    	imagearray: [
    	  ["http://turtlebacklane.com/uploads/pat/ashomeslide1.png","","",""],
              ["http://turtlebacklane.com/upl . . .
    The browser cache may need to be cleared and/or the page refreshed to see changes.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

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
  •