Inline Tabs and Sliders

If you would like to use the plugin for inline placement of tabs and sliders, you will need to format your text using the following rules.

  1. The content you wish to appears in tabs/sliders should be placed in a table with two columns
  2. Each row will form a tab or slider
  3. The title will be taken from the first column and the content from the second column
  4. All html tags are supported
  5. Plugins can be processed in the tab/slider contents (see below)
  6. Please note these are experimental and may change in future.
    • CHANGED FROM 0.9RC5 (backwards compatible) **

An example is below. If you select the example text, paste it into an article and save the article you should see two tabs titled Demonstration Tab 1 and 2 as shown in the image.

{faq inline/tabs}
Demonstration Tab 1 This is a test entry.
please leave any comments in the forum
Demonstration Tab 2  Another bit of test text
{/faq}

Inline tabs example

Processing Plugins

If you wish to process content plugins on the tab/slider contents then you should use the syntax:

{faq inline/tabs/process}
 
You can also place plugin syntax in the tab/slider content. To do this you must convert { and } to [[ and ]] respectively. E.g. the code above is placed as [[faq inline/tabs/process]]
 
 
Introduced with FAQ Slider 0.9RC5 which allows embedded tables without breaking the inline content.

The difference is that you need to specify classes for each of the tr's and td's that make up your inline table. So, it would read something like:

table
tr class="faqslider"
td class="title"
\td
td class="content"
\td
\tr
\table

This means you can chuck any content you like in between those.
It also won't break any of the old stuff you have as if the new syntax isn't found, FAQ Slider defaults back to the old system.
 

Login

Make a Donation...

 

© 2009 Content: Trafalgar Design. Template: Afterburner.