Collapsing Objects

A plugin that puts a collapsible div in a post or a page.

Author:DrLebowski (profile at wordpress.org)
WordPress version required:
WordPress version tested:
Plugin version:0.2
Added to WordPress repository:21-05-2008
Last updated:22-05-2008
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://moodlechat.bounceme.net/~lebowski/blog...
Total downloads:4 514
Active installs:80+
plugin download
Click to start download

Collapsing objects wraps anything enclosed in expand tags into a collapsible div. This is a work in progress and may be a little bit messy due to me not having done much with PHP in a while and being new to wordpress.

Please note that this requires javascript, if you expect visitors with javascript disabled please do NOT use this plugin!

I made a couple of mistakes before when submitting such as leaving a wrong hardcoded path in the script and messing up the versioning due to not knowing how WordPress plugin indexing worked. This is now fixed and I have added a working example on my blog. Sorry for any inconvenience, please inform me if there are still issues

Usage

Wrap your text/content in [expand] tags with a title eg:

[expand title=hello]This is my expanding content[/expand]

You MUST specify a title!

Example

http://tinyurl.com/3vjavq

Changes

22nd May 2008:

Fixed expanding or collapsing pushing back to the top of page

21st May 2008:

Fixed problems with readme