View Full Version : Can Accordion Contentwork with jquery-1.2.3.js?
03-16-2008, 03:01 AM
1) Script Title: Accordion Content script
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/ddaccordion.htm
3) Describe problem:
I've installed this script and used it on HTML pages, but I needed to use it on a Joomla site. I figured out that "jquery-1.2.2.js" was causing a conflict with other scripts on the site. I upgraded to "jquery-1.2.3.js" and it would at least initialize the content and things started to play nicer, but the script won't expand or contract the content.
Is there an easy fix to get this to work with jquery-1.2.3.js?
03-16-2008, 03:39 AM
By conflict, do you mean your page also uses another library like Prototype? There's little difference between jquery1.2.3 and jquery1.2.2 in themselves to cause any problems as far as I can see.
If you're talking a conflict with jquery 1.2.3 and some other library, see this thread for a quick solution to resolving it: http://www.dynamicdrive.com/forums/showthread.php?t=29668
03-16-2008, 04:02 AM
Doing a search and replace for $ to $j and adding that snippet of code at the top didn't fix it.
Here are all of the scripts called:
These are all formatted similar to jquery... lots of gibberish (at least that's what it looks like to me)
I realize you'll probably need to see the content of the files. If that's the case, I'd rather PM or email them than post them in an open forum.
03-16-2008, 04:15 AM
If you have a URL to the problem, that'd be best to pm me that, instead of the actual files.
03-16-2008, 04:42 AM
For clarification, in the other post you linked to above, you said to replace all occurrences of $ with $j. Did you mean $ and only $ or does $headers and $subcontent qualify for the search and replace too?
03-17-2008, 12:13 AM
Did you mean $ and only $ or does $headers and $subcontent qualify for the search and replace too?
That'd be the later, in other words, every occurrence of $. Just do a sweep s&r using a text editor, then add the line mentioned at the top of the changed file.
03-17-2008, 12:20 AM
OK, I just wanted to check. that's what I had done before without any results. I sent you a PM with the website link.
03-17-2008, 09:33 AM
This has solved another conflict between Accordion and Thumbnail Viewer scripts too. Thanks
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.