Custom jquery accordion

I have been looking for a good accordion add-on. Some of the add ons available seem ok, but I have seen some great ones out there that I would love to use in Concrete5.

Should I attempt to make them into an add-on myself? Is it "code expert work"?
I am in no way a code expert, but I usually get by looking at how others do it, googol my problems and using A LOT OF TIME :)

I guess I can use "generic" (not made specifically for any CMS) accordions and adding them in html blocks.

What are your thoughts on this?

Some good examples:

View Replies:
JohntheFish replied on at Permalink Reply
Making a jQuery plugin work with some DOM is the easy part.

Creating a c5 interface that allows anyone to set up the sections of the accordion is the bit that takes more work, especially if you want it to be of sufficient quality to put in the marketplace.

If you just want it for your own use, easiest is to build an accordion into a page template in your theme.
djoniba replied on at Permalink Reply
No need to put it in the marketplace. (PS. whats a DOM?)

So I just add all the necessary code right into the page layout? No need for using HTML blocks?
JohntheFish replied on at Permalink Reply
You could create a page type that, when the area is output, wrapped each block in the necessary html elements for the accordion jQuery plugin (HTML elements = Document Object Model = DOM). Then add the plugin to your theme header or footer and add some javascript at the end of the footer to set the accordion going on wrapped blocks.