Results 1 to 3 of 3

Thread: (probably easy)Ultimate Fade-In Slide Show conflicting with another JS file

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

    Default (probably easy)Ultimate Fade-In Slide Show conflicting with another JS file

    1) Script Title: Ultimate Fade-In Slideshow (2.4)

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

    3) Describe problem: I'm pretty(extremely) new to Jquery and such in general, I'm only semi-accomplished at kludging stuff together.

    I'm working out of www.budsarcheryshop.com/dev3/ presently.

    When I disable (by commenting out) the loading of my js/js.js file (which is currently handling all of my $(document).ready(function() {}); stuffs the Fade-In Slideshow works like a champ(but obviously the rest of my site goes poo). If I have them both enabled the site BREAKS. Firebug kicks off all kinds of errors and dogs and cats, living together(yeah, it happens). Also, if I disable fadeinslideshow.js, everything else works on the site, but obviously not the slide show.

    I think it has to do with the the Jquery.noConflict (from fadeinslideshow.js) vs the $(document).ready(function) stuff(of js.js); but I have no idea how to have the two living in peace and harmony.. I have the slideshow disabled presently, but you can see it working under www.budsarcheryshop.com/dev2/

    Any help?

    (also, if anyone has any experience getting Jquery.ui's datepicker to trigger on a dynamic dom object's being loaded, you'd be pro >.>)

  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

    Just comment out the line:

    Code:
    /* 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...
    
    // jQuery.noConflict()
    
    function fadeSlideShow(settingarg){
    	this.setting=settingarg
    	settingarg=null
    	var setting=this.setting
    	setting.fadeduration . . .
    - 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

    Yeah, worked like a champ, figured it was the culprit, but didn't wanna go getting all crazy and not knowing what I was doing..

    TYVM.

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
  •