A super easy way to automatically re-layout a table when the user changes the window size.
Author: | Shannon Vance (profile at wordpress.org) |
WordPress version required: | 3.8 |
WordPress version tested: | 3.8.1 |
Plugin version: | 1.0 |
Added to WordPress repository: | 29-03-2014 |
Last updated: | 29-03-2014
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 0 |
Rated by: | 0 |
Plugin URI: | http://greenlightdevelopment.com/projects/tab... |
Total downloads: | 1 837 |
Active installs: | 10+ |
Click to start download |
Table Auto-Layout allows site owners to automatically cause a table (or a list of selected tables) to be regenerated to best fit its container when the window is resized. This plugin uses a jQuery plugin to add a window resize event handler which selects a list of tables, measures their parent containers and replaces the existing tbody with a new set of rows and columns where the number of cells per row is determined by the parent container width divided by the desired cell (column) width.
Note: Because new rows may be generated and old rows may be combined by this process, the attributes of tags are lost. A done function can be specified that can be used to repopulate row attributes (or whatever) on completion.
The last row of a table may either be filled out with blank cells or left partially filled based on a flag. This flag also serves as the class given added blank cells.
Donate
If you like this plugin please consider donating
Features
- Works on pages and posts
- NO settings or configurations to deal with
- All features implemented as shortcode attributes
- Helps with responsive design.
FAQ
ChangeLog