Version Description
- Hotfix! Remove problem with duplicated widgets code.
Download this release
Release Info
Developer | Max Bond |
Plugin | Q2W3 Fixed Widget |
Version | 4.0.1 |
Comparing to | |
See all releases |
Code changes from version 4.0 to 4.0.1
- js/q2w3-fixed-widget.js +2 -0
- q2w3-fixed-widget.php +2 -2
- readme.txt +5 -2
js/q2w3-fixed-widget.js
CHANGED
@@ -23,9 +23,11 @@ function q2w3_sidebar(options) {
|
|
23 |
widgets[i] = new widget();
|
24 |
widgets[i].obj = widget_obj;
|
25 |
widgets[i].clone = widget_obj.clone();
|
|
|
26 |
widgets[i].clone_id = widget_obj.attr('id') + '_clone';
|
27 |
widgets[i].clone.addClass('q2w3-widget-clone');
|
28 |
widgets[i].clone.attr('id', widgets[i].clone_id);
|
|
|
29 |
widgets[i].clone.css('visibility', 'hidden');
|
30 |
widgets[i].offset_top = widget_obj.offset().top;
|
31 |
widgets[i].fixed_margin_top = fixed_margin_top;
|
23 |
widgets[i] = new widget();
|
24 |
widgets[i].obj = widget_obj;
|
25 |
widgets[i].clone = widget_obj.clone();
|
26 |
+
widgets[i].clone.children().remove();
|
27 |
widgets[i].clone_id = widget_obj.attr('id') + '_clone';
|
28 |
widgets[i].clone.addClass('q2w3-widget-clone');
|
29 |
widgets[i].clone.attr('id', widgets[i].clone_id);
|
30 |
+
widgets[i].clone.css('height', widget_obj.height());
|
31 |
widgets[i].clone.css('visibility', 'hidden');
|
32 |
widgets[i].offset_top = widget_obj.offset().top;
|
33 |
widgets[i].fixed_margin_top = fixed_margin_top;
|
q2w3-fixed-widget.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Q2W3 Fixed Widget
|
|
4 |
Plugin URI: http://www.q2w3.ru/q2w3-fixed-widget-wordpress-plugin/
|
5 |
Description: Fixes positioning of the selected widgets, when the page is scrolled down.
|
6 |
Author: Max Bond
|
7 |
-
Version: 4.0
|
8 |
Author URI: http://www.q2w3.ru/
|
9 |
*/
|
10 |
|
@@ -38,7 +38,7 @@ class q2w3_fixed_widget {
|
|
38 |
|
39 |
const ID = 'q2w3_fixed_widget';
|
40 |
|
41 |
-
const VERSION = '4.0';
|
42 |
|
43 |
protected static $sidebars_widgets;
|
44 |
|
4 |
Plugin URI: http://www.q2w3.ru/q2w3-fixed-widget-wordpress-plugin/
|
5 |
Description: Fixes positioning of the selected widgets, when the page is scrolled down.
|
6 |
Author: Max Bond
|
7 |
+
Version: 4.0.1
|
8 |
Author URI: http://www.q2w3.ru/
|
9 |
*/
|
10 |
|
38 |
|
39 |
const ID = 'q2w3_fixed_widget';
|
40 |
|
41 |
+
const VERSION = '4.0.1';
|
42 |
|
43 |
protected static $sidebars_widgets;
|
44 |
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
|
|
4 |
Tags: sidebar, widget, scroll, scrolling, fixed, floating, sticky, russian, q2w3
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 3.6
|
7 |
-
Stable tag: 4.0
|
8 |
|
9 |
Fixes positioning of the selected widgets, when the page is scrolled down.
|
10 |
|
@@ -84,9 +84,12 @@ Goto [http://www.q2w3.ru/contacts/](http://www.q2w3.ru/contacts/)
|
|
84 |
|
85 |
== Changelog ==
|
86 |
|
|
|
|
|
|
|
87 |
= 4.0 =
|
88 |
* Resolved [widget jumping](http://wordpress.org/support/topic/widgets-below-fixed-widgets-jump-up)
|
89 |
-
* Added code to
|
90 |
* Added new compatibility option (plugin priority)
|
91 |
* Added complete uninstall (uninstall script launched automatically when you DELETE plugin)
|
92 |
* Added Spanish translation
|
4 |
Tags: sidebar, widget, scroll, scrolling, fixed, floating, sticky, russian, q2w3
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 3.6
|
7 |
+
Stable tag: 4.0.1
|
8 |
|
9 |
Fixes positioning of the selected widgets, when the page is scrolled down.
|
10 |
|
84 |
|
85 |
== Changelog ==
|
86 |
|
87 |
+
= 4.0.1 =
|
88 |
+
* Hotfix! Remove problem with duplicated widgets code.
|
89 |
+
|
90 |
= 4.0 =
|
91 |
* Resolved [widget jumping](http://wordpress.org/support/topic/widgets-below-fixed-widgets-jump-up)
|
92 |
+
* Added code to automatically fix "widget id problem"
|
93 |
* Added new compatibility option (plugin priority)
|
94 |
* Added complete uninstall (uninstall script launched automatically when you DELETE plugin)
|
95 |
* Added Spanish translation
|