{"id":52817,"date":"2012-03-05T09:12:58","date_gmt":"2012-03-05T09:12:58","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/jquery-expanding-box\/"},"modified":"2013-01-03T16:56:46","modified_gmt":"2013-01-03T16:56:46","slug":"jquery-expanding-box","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/jquery-expanding-box\/","author":7287108,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"2","stable_tag":"2","tested":"3.5.2","requires":"3","requires_php":"","requires_plugins":"","header_name":"JQuery Expanding Box","header_author":"Hit Reach","header_description":"","assets_banners_color":"","last_updated":"2013-01-03 16:56:46","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_s-xclick&hosted_button_id=F6XX6EJH9BPVE","header_plugin_uri":"","header_author_uri":"http:\/\/www.hitreach.co.uk","rating":3.6,"author_block_rating":0,"active_installs":300,"downloads":22692,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"":"<ul>\n<li>No Entries<\/li>\n<\/ul>"},"ratings":{"1":"1","2":0,"3":"1","4":"1","5":"2"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1","2"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1566923","resolution":"1","location":"plugin"}},"screenshots":{"1":"A sample code output of the plugin and expand all text"}},"plugin_section":[],"plugin_tags":[3127,531,1863,5898,202],"plugin_category":[],"plugin_contributors":[78569],"plugin_business_model":[],"class_list":["post-52817","plugin","type-plugin","status-closed","hentry","plugin_tags-down","plugin_tags-drop","plugin_tags-dropdown","plugin_tags-hit","plugin_tags-jquery","plugin_contributors-hit-reach","plugin_committers-hit-reach"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/jquery-expanding-box.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/jquery-expanding-box\/trunk\/screenshot-1.png?rev=1566923","caption":"A sample code output of the plugin and expand all text"}],"raw_content":"<!--section=description-->\n<p>This plugin creates a shortcode to add an expandable box to show and hide the selected content on a post or page with customisable show and hide links.<\/p>\n\n<p>This is the perfect solution for content such as FAQs and Spoilers, where you may not want to show the content to begin with, but prompt the reader to show the content instead.<\/p>\n\n<h3>Usage<\/h3>\n\n<p>The plugin comes with two shortcodes for use inside a posts and pages; these are: [dropdown_box] and [dropdown_box_toggle_all].<\/p>\n\n<p><em>dropdown_box<\/em> is used to add a single dropdown box to your content, it supports 4 attributes:<\/p>\n\n<ul>\n<li><em>expand_text<\/em> - This is the text which is shown AFTER the verb to show or hide, for example \"More Information\"<\/li>\n<li><em>show_more<\/em> - This is the verb shown before the expand text to prompt a user to see more content, for example \"Show\"<\/li>\n<li><em>show_less<\/em> - This is the verb shown before the expand text to prompt a user to see less content, for example \"Hide\"<\/li>\n<li><em>start<\/em> - This sets the default state, and has 2 usable values, \"Show\" to start the box visable, and \"Hide\" to show the box hidden<\/li>\n<li><em>single_open<\/em> - This controls whether this dropdown is part of the single opening group (only one dropdown in the group can be open at a time)<\/li>\n<\/ul>\n\n<p>Your content is added inside the shortcode, for example [dropdown_box]This is my content inside the dropdown box[\/dropdown_box]<\/p>\n\n<p>The content insider the box is open to standard WordPress formatting.<\/p>\n\n<p><em>dropdown_box_toggle_all<\/em> is used to add links to show\/hide all drop down boxes on the page, this shortcode can be used in more than one place on the page and has 3 attributes<\/p>\n\n<ul>\n<li><em>hide<\/em> - This is the text used to prompt a hide all, for example \"Hide All\"<\/li>\n<li><em>show<\/em> - This is the text used to prompt a show all, for example \"Show All\"<\/li>\n<li><em>Separator<\/em> - This is the separator between the show and hide links, for example \"|\"<\/li>\n<\/ul>\n\n<p>This shortcode is self closing, so can be written as [dropdown_box_toggle_all \/] or [dropdown_box_toggle_all].<\/p>\n\n<p>This plugin also adds a small CSS file (352 bytes) to wp_head to control the styling.<\/p>\n\n<p>As of version 2, the plugin contains a menu for setting default options for the plugin and the attributes used in the plugin support HTML.<\/p>\n\n<h3>Usage Examples<\/h3>\n\n<p>A simple usage example to get you going.<\/p>\n\n<p><strong>dropdown_box_toggle_all<\/strong> [dropdown_box_toggle_all hide=\"Hide All\" show=\"Show All\" separator=\"|\" \/]<\/p>\n\n<p><strong>dropdown_box<\/strong>  [dropdown_box expand_text=\"Information\" show_more=\"More\" show_less=\"Less\" start=\"hide\"]This is my content and it will start hidden[\/dropdown_box]<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Download the \"JQuery Expanding Box\" plugin<\/li>\n<li>Create a folder in the WordPress plugins directory (default wp\/content\/plugins)<\/li>\n<li>Extract the contents of the plugin into the new folder<\/li>\n<li>Activate the plugin via the WordPress admin system.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>What are the plugin requirements to work?<\/dt>\n<dd><p>The basic plugin requirements are the JQuery script and the plugins CSS file<\/p><\/dd>\n<dt>What browsers has this been tested in?<\/dt>\n<dd><p>The plugin has been tested and is working in the following Windows browsers:<\/p>\n\n<ul>\n<li>Mozilla Firefox Version 17 - although support is indicated from version 4<\/li>\n<li>Microsoft Internet Explorer 9<\/li>\n<li>Microsoft Internet Explorer 8<\/li>\n<li>Microsoft Internet Explorer 8 (compatibility mode)<\/li>\n<li>Microsoft Internet Explorer 10 (simulation testing)<\/li>\n<li>Microsoft Internet Explorer 7 (simulation testing)<\/li>\n<li>Microsoft Internet Explorer 6 (simulation testing)<\/li>\n<li>Opera 11.52<\/li>\n<li>Google Chrome 23.0.1271.95 m<\/li>\n<li>Apple Safari 5.1.7<\/li>\n<\/ul>\n\n<p>The plugin was tested and does not work in<\/p>\n\n<ul>\n<li>Microsoft Internet Explorer 5 (simulation testing)<\/li>\n<\/ul>\n\n<p>Have you tested it in another browser? <a href=\"mailto:&#x6a;&#x61;&#x6d;&#x69;&#101;&#046;&#102;r&#x61;&#x73;&#x65;&#114;&#064;&#104;&#105;t&#x72;&#x65;&#x61;&#099;&#104;&#046;&#099;&#x6f;&#x6d;&#x3f;&#x73;&#117;&#098;&#106;e&#x63;&#x74;&#x3d;&#074;&#113;&#117;&#101;r&#x79;&#x25;&#x32;&#048;&#068;&#114;&#111;&#x70;&#x64;&#x6f;&#x77;&#110;&#037;&#050;0&#x50;&#x6c;&#x75;&#103;&#105;&#110;&#038;b&#x6f;&#x64;&#x79;&#061;&#072;&#101;&#108;&#x6c;&#x6f;&#x25;&#x30;&#065;&#037;&#048;A&#x49;&#x25;&#x32;&#x30;&#104;&#097;&#118;e&#x25;&#x32;&#x30;&#116;&#101;&#115;&#116;&#x65;&#x64;&#x25;&#x32;&#048;&#116;&#104;e&#x25;&#x32;&#x30;&#x4a;&#081;&#117;&#101;r&#x79;&#x25;&#x32;&#048;&#068;&#114;&#111;p&#x64;&#x6f;&#x77;&#110;&#037;&#050;&#048;&#x70;&#x6c;&#x75;&#x67;&#105;&#110;&#037;2&#x30;&#x61;&#x6e;&#100;&#037;&#050;&#048;i&#x74;&#x25;&#x32;&#048;&#037;&#053;&#066;&#x64;&#x6f;&#x65;&#x73;&#037;&#055;&#067;d&#x6f;&#x65;&#x73;&#037;&#050;&#048;&#110;o&#x74;&#x25;&#x35;&#068;&#037;&#050;&#048;&#x77;&#x6f;&#x72;&#x6b;&#046;&#037;&#048;A&#x25;&#x30;&#x41;&#x49;&#037;&#050;&#048;u&#x73;&#x65;&#x25;&#050;&#048;&#116;&#104;&#x65;&#x25;&#x32;&#x30;&#098;&#114;&#111;w&#x73;&#x65;&#x72;&#x25;&#051;&#065;&#037;0&#x41;&#x49;&#x25;&#050;&#048;&#117;&#115;e&#x25;&#x32;&#x30;&#116;&#104;&#101;&#037;&#x32;&#x30;&#x6f;&#x70;&#101;&#114;&#097;t&#x69;&#x6e;&#x67;&#037;&#050;&#048;&#115;y&#x73;&#x74;&#x65;&#109;&#037;&#051;&#065;\" title=\"Tell Us\">Tell Us<\/a><\/p><\/dd>\n<dt>I like your work, can i donate?<\/dt>\n<dd><p>YES! you can donate using the plugin's donation link or via a <a href=\"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_s-xclick&amp;hosted_button_id=F6XX6EJH9BPVE\">paypal<\/a> payment to admin@hitreach.co.uk.  Thank you in advance!<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1<\/h4>\n\n<ul>\n<li>Inital Release<\/li>\n<\/ul>\n\n<h4>2<\/h4>\n\n<ul>\n<li>Added in html support for shortcode attributes<\/li>\n<li>Added in default options menu page<\/li>\n<li>Tested and working for WordPress 3.5<\/li>\n<li>Ability to have one dropdown at a time open (suggestion by Christian Frohn)<\/li>\n<\/ul>","raw_excerpt":"This plugin creates a shortcode to add an expandable box to show and hide the selected content on a post or page with customisable show and hide links","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/52817","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=52817"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/hit-reach"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=52817"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=52817"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=52817"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=52817"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=52817"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=52817"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}