Results 1 to 3 of 3

Thread: Ultimate Fade-in slideshow on Joomla - Error message on pages without slideshow

  1. #1
    Join Date
    Dec 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Ultimate Fade-in slideshow on Joomla - Error message on pages without slideshow

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

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

    3) Describe problem: Installed this on my Joomla site which required me to put the code in the <head> section of my site template

    This worked great, (LOVE this script!!) except now on the site pages where I don't have <div id="fadeshow1"></div> I get an error message.

    Some pages can't fit the slideshow (photo gallery in particular)

    If this is too confusing, you can see what I mean here:

    pages with slideshow:

    http://poshweddingflowers.com/index....&id=5&Itemid=6

    http://poshweddingflowers.com/index....d=16&Itemid=29

    pages with error message:

    http://poshweddingflowers.com/

    http://poshweddingflowers.com/index....ask=view&id=20

    Is there a way to turn the error message off?

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    28,953
    Thanks
    43
    Thanked 3,195 Times in 3,157 Posts
    Blog Entries
    12

    Default

    Find this section in the fadeslideshow.js script (around line #49) and comment out (highlighted and red) the alert line (highlighted) as shown :

    Code:
    		if (setting.$wrapperdiv.length==0){ //if no wrapper DIV found
    			//alert("Error: DIV with ID \""+setting.wrapperid+"\" not found on page.")
    			return
    		}
    - John
    ________________________

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

  3. #3
    Join Date
    Dec 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    It works perfectly now. This is a really great script. Thank you so much!!

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
  •