描述
This Plugin allows you to add some nice effects in your posts.
Usage
<a href="#myslidingcontent" class="slider">Toggle My Content</a>
<p id="myslidingcontent">Here is my cool Content</p>
安装
- Upload
plugin-name.php
to the/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
常见问题
- It doesn’t Work!
-
This Script uses the Mootools Library, if you use another javascript library in your frontend it won’t work at all.
- Which Mootools Version is used
-
This plugin uses Mootools 1.1
- Can I use it in my Template too?
-
Sure you can use it in your template too.
Just add an anchor with the target element and add the css class ‘slider’.