Results 1 to 2 of 2

Thread: Ultimate Fade In Slideshow v2.0 Error Message

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

    Default Ultimate Fade In Slideshow v2.0 Error Message

    1) Script Title: Ultimate Fade In Slideshow v2.0

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

    3) Describe problem:

    Hello. I installed the Ultimate Fade-in slideshow in the index page of the website and it works perfectly. However, I added the script in the header.php include file, that appears in in several pages of the website, including the index page where the slideshow is. When I navigate to the other pages, I get this message: "Error: DIV with ID "fadeshow1" not found on page." I went ahead and removed the slideshow script form the header.php as well as removed the php header from my index page. I still would like to use the header.php with the slideshow scrip in the index page but how can I stop the error message from showing on the other pages? I'm new, please be kind. Thanks

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    28,997
    Thanks
    43
    Thanked 3,198 Times in 3,160 Posts
    Blog Entries
    12

    Default

    The best thing to do is to only include the script on the page that's using it. If that's impossible, you can edit the script. Using a text only editor like NotePad, find this portion of it and add the red comment tokens as shown:

    Code:
    	jQuery(document).ready(function($){ //fire on DOM ready
    		var setting=slideshow.setting
    		var fullhtml=fadeSlideShow.routines.getFullHTML(setting.imagearray) //get full HTML of entire slideshow
    		setting.$wrapperdiv=$('#'+setting.wrapperid).css({position:'relative', visibility:'visible', background:'black', overflow:'hidden', width:setting.dimensions[0], height:setting.dimensions[1]}).empty() //main slideshow DIV
    		if (setting.$wrapperdiv.length==0){ //if no wrapper DIV found
    			//alert("Error: DIV with ID \""+setting.wrapperid+"\" not found on page.")
    			return
    		}
    		setting.$galleryl . . .
    Save that version and use it.
    - John
    ________________________

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

  3. The Following User Says Thank You to jscheuer1 For This Useful Post:

    CarolM (02-06-2013)

Similar Threads

  1. Ultimate Fade-in slideshow Error
    By coreya in forum Dynamic Drive scripts help
    Replies: 7
    Last Post: 11-26-2012, 07:30 PM
  2. Replies: 2
    Last Post: 12-17-2010, 04:02 PM
  3. Ultimate Fade-in slideshow (v2.1) Error IE8
    By Robert33 in forum Dynamic Drive scripts help
    Replies: 4
    Last Post: 03-31-2010, 07:01 AM
  4. Ultimate Fade-in slideshow in IE error
    By jkl47 in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 01-23-2010, 05:50 PM
  5. Ultimate Fade-in slideshow - IE error
    By banj in forum Dynamic Drive scripts help
    Replies: 3
    Last Post: 03-03-2009, 04:05 AM

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
  •