I need a shortcode created to toggle a css class using jQuery .toggle, and display an image based on the current state. Very very simple and quick job..
The shortcode should follow the following scheme:
[toggle class="cssclass" image="url-to-image-when-displayed" hidden="url-to-image-when-class-is-hidden"]
The above will display a image and when clicked, will hide the css class specified in the shortcode and the image will change to the one specified above. Then it will perform the opposite. This shortcode should be able to be used multiple times on a single page.