Results 1 to 6 of 6

Thread: FadeSlideShow problem - just getting a blank page - why?

  1. #1
    Join Date
    Aug 2010
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default FadeSlideShow problem - just getting a blank page - why?

    1) Script Title: FadeSlideShow

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

    3) Describe problem: I've tried using this slideshow on my site a couple times now and I never get anything to work. Just a blank page appears. I've tried using it on Drupal first and had issues. So, then I went into my Adobe GoLive to try it on another site and still got a blank page. And I can't figure out why!

    I copy and paste the entire code into the HTML and only two little arrows show up. If I try to just upload the page to the server, and then open it, just two little arrows show up. No pictures, nothing.

    So I tried customizing it, adding the URL for my site, adding the URLs for the pictures that I want in it, taking out the second slideshow, etc and all I get is a blank page with NOTHING on it.

    Please help - any tips/advice? I've used js slideshows before and never had problems, so I can't figure out why in the world I'm getting nothing.

    Is there anything I need to take out/add to the code that's not said on the page?

    Yes, I have the fadeslideshow.js file uploaded to my server, so that is not the problem.


    Thanks!

  2. #2
    Join Date
    Aug 2010
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    This is what I've done with the code so far and it's still not working. What's the problem(s)? Any help is greatly appreciated!!

    Code:
    <html>
    
    <head>
    <script type="text/javascript" var uniquevariable=new fadeSlideShow(wrapperid) </script></script> 
    
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
    <script type="text/javascript" src="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>
    
    <script type="text/javascript" src="fadeslideshow.js">
    
    var mygallery=new fadeSlideShow({
    wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow
    dimensions: [539, 432], //width/height of gallery in pixels. Should reflect dimensions of largest image
    imagearray: [
    ["http://www.................com/Pictures/slideshow1.png", "Welcome to our office!"],
    ["http://www...................com/Pictures/slideshow2.png", "Picture 2"],
    ["http://www...................com/Pictures/slideshow3.png" "Picture 3"],
    ["http://www...................com/Pictures/slideshow4.png", "Thank you for virtually viewing our office!"] //<--no trailing comma after very last image element!
    ],
    displaymode: {type:'auto', pause:2500, cycles:0, wraparound:false},
    persist: false, //remember last viewed slide and recall within same session?
    fadeduration: 500, //transition duration (milliseconds)
    descreveal: "peekaboo",
    togglerid: ""
    })
    
    </script>
    </head>
    
    <body>
    
    <div id="fadeshow1"></div>
    
    <br />
    
    </body>
    
    </html>

  3. #3
    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

    Add the highlighted, get rid of the red:

    Code:
    <!DOCTYPE html>
    <html>
    
    <head>
    <script type="text/javascript" var uniquevariable=new fadeSlideShow(wrapperid) </script></script> 
    
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
    <script type="text/javascript" src="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>
    
    <script type="text/javascript" src="fadeslideshow.js">
    
    var mygallery=new fadeSlideShow({
    wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow
    dimensions: [539, 432], //width/height of gallery in pixels. Should reflect dimensions of largest image
    imagearray: [
    ["http://www.................com/Pictures/slideshow1.png", "Welcome to our office!"],
    ["http://www...................com/Pictures/slideshow2.png", "Picture 2"],
    ["http://www...................com/Pictures/slideshow3.png" "Picture 3"],
    ["http://www...................com/Pictures/slideshow4.png", "Thank you for virtually viewing our office!"] //<--no trailing comma after very last image element!
    ],
    displaymode: {type:'auto', pause:2500, cycles:0, wraparound:false},
    persist: false, //remember last viewed slide and recall within same session?
    fadeduration: 500, //transition duration (milliseconds)
    descreveal: "peekaboo",
    togglerid: ""
    })
    
    </script>
    </head>
    
    <body>
    
    <div id="fadeshow1"></div>
    
    <br />
    
    </body>
    
    </html>
    Make sure you've uploaded the fadeslideshow.js file to the same folder as the above page and that the images are where your code points to. Upper and lower case matter in their paths and filenames, these must match exactly their locations on the server.

    If you want more help:

    Please post a link to a page on your site that contains the problematic code so we can check it out.
    - John
    ________________________

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

  4. #4
    Join Date
    Aug 2010
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks! I did that and the page is still blank.

    Here's a link to the actual page, so you can view the source - click here.

    Thanks!

  5. #5
    Join Date
    Oct 2009
    Posts
    845
    Thanks
    14
    Thanked 189 Times in 188 Posts

    Default

    Try to add a comma ( see the red comma)
    ["http://www...................com/Pictures/slideshow3.png", "Picture 3"],

    You will probably have to change the image arrays a bit anyway maybe to something like this:
    ["http://www...................com/Pictures/slideshow3.png", "", "", "Picture 3"],

  6. #6
    Join Date
    Aug 2010
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Awesome, that worked! Thanks . Now, hopefully it'll work on Drupal . . .

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
  •