Text Toggle

Toggle a Specific Set of Text Blocks

The third part of this plugin is the tt_part shortcode.

This singleton shortcode takes a title and class definition and creates a jQuery-mapped link that alternately shows and hides all tt content with the corresponding class parameter definition.

The jQuery function is very similar to the previous function, except that it is specific to the given class as defined by the class parameter in the shortcode call.

This shortcode is optional but if it is included, the optional class definition in the tt shortcode must be defined with the same parameter for all entries controlled by this shortcode. The class definition can only consist of letters and numbers. It may be placed multiple times on the same page.

The short URL of the present article is: http://www.terryobrien.me/kUWob

Page 5 of 7
First | Prev | 1 | 2 | 3 | 4 | 5 | 6 | 7 | Next | Last
View All