New J Shortcodes (version 1.302 and higher) just added support for JQuery accordion and tabs. While jtabs are already documented here I am still a bit lagging on documenting the rest.
So, here’s how you can use accordion shortcodes:
Full spec:
[ jaccordion size="xxxsmall|xxsmall|xsmall|small|*normal" theme="blitzer|cupertino|overcast|*smoothness|vader" active="*"]
Title 1::
This is first pane content
[jacc/]
Title 2::
This is second pane content
[jacc/]
Title 3::
This is third pane content
[/jaccordion]


active=”0″ – all panes initially closed (default).
active=”1″ – first pane initially opened, etc…
Please note: before using any theme beside ‘smoothness’ you need to enable it first via WordPress Admin -> JShortcodes -> General settings.

Example:
[ jaccordion size="xsmall" theme="cupertino" active="2"]
Title 1::
This is first pane content
[jacc/]
Title 2::
This is second pane content
[/jaccordion]

Comments are closed.

 

Subscribe

 



Thanks to: Law of Attraction and all powerful and wonderful Law of Attraction
Customer Loyalty Programs

 
Set your Twitter account name in your settings to use the TwitterBar Section.