View Full Version : Ultimate Fade In Slideshow v2.0 and protected directories

09-12-2013, 06:07 PM
I am having issues with this slideshow script --specifically with the jquery.min.js file which is attached to it. When I first uploaded it to my website, it cancelled the other jquery file, so I renamed this one as jquery.min2.js. All went well until I put it on a slideshow in a password-protected directory.
Now I have to enter my username and password to view each slide show -- and there will be several.

I found a possible culprit on line 62 of the file named jquery.min.js featuring "password" functions (I think). I would like to remove this portion of the code -- without destroying the rest of the functions needed to make the slideshow successful.

Please advise as soon as you can, so I can resolve this issue. Thanks, javascript expert "angels".

09-13-2013, 01:40 AM

Warning: Please include a link to the DD script(s) in question in your post. See this post (http://www.dynamicdrive.com/forums/showpost.php?p=7) for more information.

It's hard to say without seeing the page and poking around a bit. But the first thing I would try is getting rid of jquery.min2.js and then in the slideshow script, using a text only editor like NotePad, comment out the noConflict() directive here as shown (add the red slashes):

/* Ultimate Fade-in slideshow (v2.4)
* Last updated: May 24th, 2010. This notice must stay intact for usage
* Author: Dynamic Drive at http://www.dynamicdrive.com/
* Visit http://www.dynamicdrive.com/ for full source code

//Oct 6th, 09' (v2.1): Adds option to randomize display order of images, via new option displaymode.randomize
//May 24th, 10' (v2.4): Adds new "peakaboo" option to "descreveal" setting. oninit and onslide event handlers added.

var fadeSlideShow_descpanel={
controls: [['x.png',7,7], ['restore.png',10,11], ['loading.gif',54,55]], //full URL and dimensions of close, restore, and loading images
fontStyle: 'normal 11px Verdana', //font style for text descriptions
slidespeed: 200 //speed of description panel animation (in millisec)

//No need to edit beyond here...


function fadeSlideShow(settingarg){
var setting=this.setting
setting.fadeduration=setting.faded . . .

Save and use that version.

The browser cache may need to be cleared and/or the page refreshed to see changes.

If you want more help, please include a link to the page on your site that contains the problematic code so we can check it out.