Version Description
- add styles and jQuery for accessibility: focus/keyboard navigation
Download this release
Release Info
Developer | baden03 |
Plugin | Collapse-O-Matic |
Version | 1.6.10 |
Comparing to | |
See all releases |
Code changes from version 1.6.9 to 1.6.10
- collapse-o-matic.php +3 -3
- dark_style.css +1 -1
- js/collapse.js +9 -1
- light_style.css +1 -1
- readme.txt +8 -2
collapse-o-matic.php
CHANGED
@@ -5,7 +5,7 @@ Text Domain: colomat
|
|
5 |
Domain Path: /languages
|
6 |
Plugin URI: http://plugins.twinpictures.de/plugins/collapse-o-matic/
|
7 |
Description: Collapse-O-Matic adds an [expand] shortcode that wraps content into a lovely, jQuery collapsible div.
|
8 |
-
Version: 1.6.
|
9 |
Author: twinpictures, baden03
|
10 |
Author URI: http://twinpictures.de/
|
11 |
License: GPL2
|
@@ -30,7 +30,7 @@ class WP_Collapse_O_Matic {
|
|
30 |
* Current version
|
31 |
* @var string
|
32 |
*/
|
33 |
-
var $version = '1.6.
|
34 |
|
35 |
/**
|
36 |
* Used as prefix for options entry
|
@@ -130,7 +130,7 @@ class WP_Collapse_O_Matic {
|
|
130 |
if($this->options['script_location'] == 'footer' ){
|
131 |
$load_in_footer = true;
|
132 |
}
|
133 |
-
wp_register_script('collapseomatic-js', plugins_url('js/collapse.js', __FILE__), array('jquery'), '1.5.
|
134 |
if( empty($this->options['script_check']) ){
|
135 |
wp_enqueue_script('collapseomatic-js');
|
136 |
}
|
5 |
Domain Path: /languages
|
6 |
Plugin URI: http://plugins.twinpictures.de/plugins/collapse-o-matic/
|
7 |
Description: Collapse-O-Matic adds an [expand] shortcode that wraps content into a lovely, jQuery collapsible div.
|
8 |
+
Version: 1.6.10
|
9 |
Author: twinpictures, baden03
|
10 |
Author URI: http://twinpictures.de/
|
11 |
License: GPL2
|
30 |
* Current version
|
31 |
* @var string
|
32 |
*/
|
33 |
+
var $version = '1.6.10';
|
34 |
|
35 |
/**
|
36 |
* Used as prefix for options entry
|
130 |
if($this->options['script_location'] == 'footer' ){
|
131 |
$load_in_footer = true;
|
132 |
}
|
133 |
+
wp_register_script('collapseomatic-js', plugins_url('js/collapse.js', __FILE__), array('jquery'), '1.5.16', $load_in_footer);
|
134 |
if( empty($this->options['script_check']) ){
|
135 |
wp_enqueue_script('collapseomatic-js');
|
136 |
}
|
dark_style.css
CHANGED
@@ -32,7 +32,7 @@
|
|
32 |
.collapseall, .expandall {
|
33 |
cursor: pointer;
|
34 |
}
|
35 |
-
.collapseall:hover, .expandall:hover {
|
36 |
text-decoration: underline;
|
37 |
}
|
38 |
.maptastic {
|
32 |
.collapseall, .expandall {
|
33 |
cursor: pointer;
|
34 |
}
|
35 |
+
.collapseall:hover, .expandall:hover, .collapseall:focus, .expandall:focus {
|
36 |
text-decoration: underline;
|
37 |
}
|
38 |
.maptastic {
|
js/collapse.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*!
|
2 |
-
* Collapse-O-Matic JavaSctipt v1.5.
|
3 |
* http://plugins.twinpictures.de/plugins/collapse-o-matic/
|
4 |
*
|
5 |
* Copyright 2015, Twinpictures
|
@@ -301,6 +301,14 @@ jQuery(document).ready(function() {
|
|
301 |
mouseleave: function(){
|
302 |
//stuff to do on mouseleave
|
303 |
jQuery(this).removeClass('colomat-hover');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
304 |
}
|
305 |
}, '.collapseomatic'); //pass the element as an argument to .on
|
306 |
|
1 |
/*!
|
2 |
+
* Collapse-O-Matic JavaSctipt v1.5.16
|
3 |
* http://plugins.twinpictures.de/plugins/collapse-o-matic/
|
4 |
*
|
5 |
* Copyright 2015, Twinpictures
|
301 |
mouseleave: function(){
|
302 |
//stuff to do on mouseleave
|
303 |
jQuery(this).removeClass('colomat-hover');
|
304 |
+
},
|
305 |
+
focusin: function(){
|
306 |
+
//stuff to do on keyboard focus
|
307 |
+
jQuery(this).addClass('colomat-hover');
|
308 |
+
},
|
309 |
+
focusout: function(){
|
310 |
+
//stuff to do on losing keyboard focus
|
311 |
+
jQuery(this).removeClass('colomat-hover');
|
312 |
}
|
313 |
}, '.collapseomatic'); //pass the element as an argument to .on
|
314 |
|
light_style.css
CHANGED
@@ -32,7 +32,7 @@
|
|
32 |
.collapseall, .expandall {
|
33 |
cursor: pointer;
|
34 |
}
|
35 |
-
.collapseall:hover, .expandall:hover {
|
36 |
text-decoration: underline;
|
37 |
}
|
38 |
.maptastic {
|
32 |
.collapseall, .expandall {
|
33 |
cursor: pointer;
|
34 |
}
|
35 |
+
.collapseall:hover, .expandall:hover, .collapseall:focus, .expandall:focus {
|
36 |
text-decoration: underline;
|
37 |
}
|
38 |
.maptastic {
|
readme.txt
CHANGED
@@ -4,8 +4,8 @@ Contributors: twinpictures, baden03
|
|
4 |
Donate link: http://plugins.twinpictures.de/plugins/collapse-o-matic/
|
5 |
Tags: collapse, expand, collapsible, expandable, expandable content, collapsable content, shortcode, hidden, hide, display, accordion, accordion, jQuery, javascript, roll-your-own, twinpictures, read me, read more, more, plugin oven
|
6 |
Requires at least: 3.9
|
7 |
-
Tested up to: 4.2
|
8 |
-
Stable tag: 1.6.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -50,6 +50,9 @@ No. Not even close.
|
|
50 |
|
51 |
== Changelog ==
|
52 |
|
|
|
|
|
|
|
53 |
= 1.6.9 =
|
54 |
* added catch-all callback for jetpack’s infinite-scroll
|
55 |
* fix: XSS Vulnerability
|
@@ -290,6 +293,9 @@ Fixed auto-expand of urls with id-anchors
|
|
290 |
|
291 |
== Upgrade Notice ==
|
292 |
|
|
|
|
|
|
|
293 |
= 1.6.9 =
|
294 |
* works with jetpack’s infinite-scroll
|
295 |
* fix: XSS Vulnerability
|
4 |
Donate link: http://plugins.twinpictures.de/plugins/collapse-o-matic/
|
5 |
Tags: collapse, expand, collapsible, expandable, expandable content, collapsable content, shortcode, hidden, hide, display, accordion, accordion, jQuery, javascript, roll-your-own, twinpictures, read me, read more, more, plugin oven
|
6 |
Requires at least: 3.9
|
7 |
+
Tested up to: 4.2.2
|
8 |
+
Stable tag: 1.6.10
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
50 |
|
51 |
== Changelog ==
|
52 |
|
53 |
+
= 1.6.10 =
|
54 |
+
* add styles and jQuery for accessibility: focus/keyboard navigation
|
55 |
+
|
56 |
= 1.6.9 =
|
57 |
* added catch-all callback for jetpack’s infinite-scroll
|
58 |
* fix: XSS Vulnerability
|
293 |
|
294 |
== Upgrade Notice ==
|
295 |
|
296 |
+
= 1.6.10 =
|
297 |
+
* add styles and jQuery for accessibility: focus/keyboard navigation
|
298 |
+
|
299 |
= 1.6.9 =
|
300 |
* works with jetpack’s infinite-scroll
|
301 |
* fix: XSS Vulnerability
|