MooAccordion


{mooblock=Trigger Title (used to trigger the slide)}
Content of the slide block...
{/mooblock}
Features include:
• adds minimal markup (and intelligently strips unnecessary markup added by editors like tinyMCE and JCE, if present) to keep the html clean and valid
• uses Joomla core MooTools library, which means this plugin adds no HTTP requests, minimizes dependencies, prevents JS conflicts, and makes it very lightweight
• adds CSS class for active block title, allowing you to toggle it's icon (for ex, from a + to a - icon— visit http://www.acusti.ca/mooaccordion-css-show-hide-demo-tutorial.html for a tutorial on how to do so); more generally, the markup is fully CSS customizable
• very easy for anyone to use (without technical knowledge) and very flexible
• the show/hide effects and other settings are easily customizable from the plugin's configuration
• compatible with IE 6-9, Firefox, Safari, Opera, etc.
The plugin is similar to JoomlaWork's Tabs & Slides (in content items) Plugin, the plugin I originally used before being inspired to write this one. My biggest problem with the JW plugin was that when I added the plugin syntax into an article, the plugin would create invalid markup from it, because the WYSIWIG editor automatically wrapped it in a tag. Also, it seemed foolish to use an old accordion script rather than the built-in accordion plugin that Joomla already comes with. This plugin solves those issues, and does so efficiently and robustly.
Note: the title can contain html if desired. If it is wrapped by one html element, that element will be used as the title toggler. Otherwise, it will wrap the title in a <h4> tag. Also, the title cannot contain ‘}’ or the plugin will incorrectly interpret that as the end of the title. Lastly, to create separate accordions, just make sure there is some kind of content (text, a non-breaking space [ ], an empty <p> tag, a <br />, etc.) separating the mooblocks.
Changelog:
------ 1.0.3 Stable [2010-10-28] ------
^ modified JS code to make it fully compatible with Internet Explorer (IE 6 and up)
+ added support for pages with multiple articles display at once (category, section, or frontpage views); accordions will now load properly when displaying multiple articles on the same page
------ 1.0.2a Stable [2010-09-08] ------
^ small modification to accordion JS code to make it validate with the W3 validator
+ made new package update existing plugin (instead of replacing it), so settings are maintained
------ 1.0.2 Stable [2010-08-11] ------
+ added support for creating multiple separate accordions in the same article
^ improved regex performance
When I view the page in the Firefox developer tools they show up though. I'm going to send the author an email to ask if he's experienced this.
Works great otherwise.
Never-the-less, the plugin works fantastic in everything except for IE. But honestly, I'm tired of spending SO MUCH TIME fixing every little thing just for Internet Explorer that I don't care anymore.
I'm using this great plugin anyway! Great job devs!!!
Thanks so much for the feedback! You were correct about it being broken in Internet Explorer (I also feel similarly to you about fixing stuff for IE, which is probably why I neglected to test the plugin with it). However, I bring good tidings: MooAccordion 1.0.3 fixes that problem by reworking the javascript that was causing the accordions to break. Enjoy!








