PDA

View Full Version : Multiple shows using dynamic web template



alesiadixon
12-18-2009, 01:30 AM
1) Script Title: Ultimate Fade-in slideshow v2.1

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex14/fadeinslideshow.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

jscheuer1
12-18-2009, 04:45 AM
Edit your copy of fadeslideshow.js with a plain text editor like NotePad. Find this section and add the highlighted line:


jQuery(document).ready(function($){ //fire on DOM ready
var setting=slideshow.setting
if(!document.getElementById(setting.wrapperid)){return;}
var fullhtml=fadeSlideShow.rou . . .