开发者 | jellyfilledstudios |
---|---|
更新时间 | 2014年4月21日 22:54 |
捐献地址: | 去捐款 |
PHP版本: | 3.5.1 及以上 |
WordPress版本: | 3.9 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
[jellybox class="jellyboxGreen" width="200" height="140" angle="15"] This text will appear in an attractive green gradient colored box tilted to a 15 degree angle. [/jellybox]
[jellybox class="jellyboxBlue" width="200" height="140" deltaheight="100" deltatop="-100"] This text will appear in an attractive blue gradient colored box. When you click on this box, it will grow by 100px. [/jellybox]
Contact Form Example
`[jellybox class="jellyboxGreen" width="100" height="20" deltawidth="350" deltaheight="700" deltatop="-400" gospeed="500" returnspeed="100" target="boxtrigger"]
Contact us
[X]
[contact-form-7 id="152" title="Contact form 1"]
[/jellybox]`
Documentation & Support
Detailed examples and instructions for use can be found at http://www.jellyrobotics.com/2013/02/09/jellybox-shortcode-wordpress-plugin/
You can find documentation and more detailed information about jellybox at JellyRobotics.com. If you were unable to find the answer to your question on the examples page or in any of the documentation, please check the support forum on WordPress.org.
jellybox.zip
from WordPress.orgjellybox.zip
/wp-content/plugins/
directorySome contact forms cause the jellybox to close when entering the fields or pressing the submit button. A work around for this is to place a header line at the top of the jellybox that controls the opening and closing of the box. Here is an example that uses a Contact Form 7 inside a jellybox
`[jellybox class="jellyboxGreen" width="100" height="20" deltawidth="350" deltaheight="700" deltatop="-400" gospeed="500" returnspeed="100" target="boxtrigger"]
Contact us
[X]
[contact-form-7 id="152" title="Contact form 1"]
[/jellybox]This example creates an
[X]in the upper right hand corner of the box. Clicking anywhere on the title line or the
[X]` cause the jellybox to open or close as expected.
The 'live' site for documentation, FAQs and comments for jellybox is http://www.jellyrobotics.com/2013/02/09/jellybox-shortcode-wordpress-plugin/
Detailed examples can be found at http://www.jellyrobotics.com/2013/02/09/jellybox-shortcode-wordpress-plugin/
This is an issue with the wordpress wpautop() function and certain themes. The workaround for this issue has been to insert a div tag above the affected jellybox with a bottom margin that will offset the P tag added by wpautop()
inline="YES"
(default is "NO"). This new option allows the jellybox to be displayed as in-line text using SPAN tags rather than the default wrapper which is DIV tags.