PDA

View Full Version : Jquery conflict unsolvable



arnokok
09-09-2013, 07:24 AM
1) Script Title: Step Carousel Viewer v1.9

2) Script URL (on DD): http://www.kdsl.org/arnaud/pages/acca.html

3) Describe problem: Hello !

On this webpage (http://www.kdsl.org/arnaud/pages/acca.html) Step Carousel Viewer works fine ! But the menu at the top of the page doesnt work anymore. Usually, it works like this: http://www.kdsl.org/arnaud/index.html
But when i add this line: <script type="text/javascript" src="../js/stepcarousel.js"> in between <head></head> the menu doesn't work anymore. I think there is a jquery conflict. I searched on the web, i found a topic on this forum, but it didnt fix nothing for me.

Someone has a solution ?

The .js of the menu is here : http://www.kdsl.org/arnaud/js/jquery.pushmenu.js
the .js of Step Carousel Viewer is here: http://www.kdsl.org/arnaud/js/stepcarousel.js

Thanks a lot for your support !

arnokok
09-13-2013, 01:19 PM
No one has an idea ? I might be wrong in my analyze of the problem..

jscheuer1
09-13-2013, 06:15 PM
Using a text only editor like NotePad, comment out the noConflict() directive in the stepcarousel.js file here as shown (red):


//** Step Carousel Viewer- (c) Dynamic Drive DHTML code library: http://www.dynamicdrive.com
//** Script Download/ http://www.dynamicdrive.com/dynamicindex4/stepcarousel.htm
//** Usage Terms: http://www.dynamicdrive.com/notice.htm
//** Current version 1.91 (Aug 15th, 11'): See http://www.dynamicdrive.com/dynamicindex4/stepcarouselchangelog.txt for details


//jQuery.noConflict()

var stepcarousel={
ajaxloadingmsg: '<div st

Save and use that version.

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

There could also be other problems, but that looks like all you need to get both scripts at least working.

arnokok
09-16-2013, 07:34 AM
Very simple solution, but perfectly working.

Thanks a lot !