Okay so thanks to the advice I received earlier about sliders, I've managed to create the following page which also has my iOS Slider working alongside, with a bit of script controlling the conflict between the two libraries used. However, I now want to add in a further JQuery library to create the "puff" effect on a div.

The problem is, when I add in the puff code I have, it breaks the page and none of the libraries will work. Below is a link to the iOS Slider and BGStretcher page with a further link showing the puff test document (please excuse the simplicity for the moment, I am simply trying to get it working :)).

I'm fairly sure I need to do some more work with a conflict script or maybe do the puff effect some other way using the existing libraries? Surely the latest version of JQuery should incorporate all of the features and there should be no need for these conflicts, unless I'm missing something?

If anyone can help me out I'd really appreciate it!

Cheers,

Shoxt3r

Shoxt3r
—
2012-07-24T12:38:19Z —
#2

Okay, I've tried reordering the scripts and adding in the noConflict script below between the puff effect script and the others but it still doesn't work, if anything it means nothing works! :(. Any help would be much appreciated!

From what I can tell there is a conflict between the iOSSlider and BGStretcher scripts and the following:

I only see one library on your page—namely, jQuery—so I doubt there's a conflict, as such. However, you have two versions of jQuery on the page, which will cause problems. Only link to the jQuery library once on our page. You have this:

Thanks very much for your help! I've managed to get it working using the following libraries in the order below which now ensures all three elements are working. It's probably not the most efficient code though so if you have any further points please let me know :).

Great! Yes, jquery-ui is an extension of jQuery, rather than a duplicate, so that is indeed needed. The key is not to use the basic jQuery library itself more than once.

Shoxt3r
—
2012-07-25T11:03:33Z —
#10

Ha yeah I realise that now

By the way, I don't know if you noticed but after some time (and it may be because I'm switching windows) after a short amount of time the BGStretcher script seems to ignore the "nextSlideDelay" of 5 seconds I've placed within the script. It will work for the first few runs through it seems but then begin to go off track.....any thoughts?

It's not something which is placed on the demo by the way so it could be a bug which the creator has hidden.....