Results 1 to 2 of 2

Thread: Multiple shows using dynamic web template

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

    Question Multiple shows using dynamic web template

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

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

    3) Describe problem:
    I am using several of the fade-in shows on one page but am having problems because I am using a dynamic web template for the site.

    On every page that does not have the div id's, a script error window shows up saying it cannot find the div.

    I can solve the problem by disconnecting the template from that particular page, but in doing so, when I do updates to the site, I have to update these pages seperately which forfeits the whole purpose of a dynamic web template.

    The script errors are very bothersome & unprofessional looking. One comes up for each missing div(I have 7 for now).

    Any suggestions are appreciated.
    Alesia

  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

    Edit your copy of fadeslideshow.js with a plain text editor like NotePad. Find this section and add the highlighted line:

    Code:
    	jQuery(document).ready(function($){ //fire on DOM ready
    		var setting=slideshow.setting
    		if(!document.getElementById(setting.wrapperid)){return;}
    		var fullhtml=fadeSlideShow.rou . . .
    - 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
  •