A content toggle by click plugin for Monstra.
v1.3 - 2016-05-02
Here is a list of all releases of Toggle
- Download latest version of
Toggle
- Log into Monstra backend and go to
Extends > Plugins > Install new
- Select downloaded file and first click
Upload
, then clickInstall
- Go to
Extends > Toggle
and configure options of your choice - Now everything is ready to use!
Shortcode for content pages:
{toggle click="some link text" toggle="some toggle content"}
Codesnippet for templates:
<?php Toggle::show('The answer to life, the universe and everything?', '42'); ?>
option | type | description |
---|---|---|
Slide duration | int |
How many milliseconds the sliding animation should take |
Slide easing | string |
Easing type for the sliding animation: swing or linear |
This Plugin is distributed under MIT-License.
This plugin is based on the .slideToggle() method of jQuery
If you like this plugin and want to give some love back, feel free to...