=== Q2W3 Fixed Widget (Sticky Widget) === Contributors: Max Bond Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=Q36H2MHNVVP7U Tags: sidebar, widget, scroll, scrolling, fixed, floating, sticky, russian, q2w3 Requires at least: 3.0 Tested up to: 3.8.0 Stable tag: 4.0.6 Fixes positioning of the selected widgets, when the page is scrolled down. == Description == Enable "Fixed widget" option in the widget settings (see [screenshot](http://wordpress.org/extend/plugins/q2w3-fixed-widget/screenshots/)) and it will be always in sight when page is scrolled down or up. There is no problem to "Fix" or "Stick" more than one widget even located in different sidebars! [youtube http://www.youtube.com/watch?v=sHXmeH5TfnA] [Watch the live demo](http://store.places-finder.com/cp-ajax-post-load). Right sidebar, last three widgets. Scroll down to the bottom. Compatibility note. The plugin is not working with all themes. Theme requirements: * jQuery 1.7 required. jQuery 1.8.3 (or later) is recommended. * No JavaScript errors, coused by other plugins and scripts. * `wp_head()` and `wp_footer()` functions in header.php and footer.php files. In some cases (widget "jumping" during scroll and etc.) theme CSS changes may be required. Supported languages: * English * Russian * Spanish - [Ramón](http://apasionados.es) * French - [Murat](http://wptheme.fr) == Installation == 1. Follow standard WordPress plugin installation procedure 2. Activate the plugin through the Plugins menu in WordPress 3. Go to Appearance -> Widgets, enable "Fixed Widget" option on any active widget ([screenshot](http://wordpress.org/extend/plugins/q2w3-fixed-widget/screenshots/)) 4. Fine tune fixed widget margins on Appearance -> Fixed Widget Options page == Frequently Asked Questions == = Why plugin is not working? = There are several reasons: 1. Javascript errors on page. Commonly caused by buggy plugins. Check javascript console of your browser. If you find errors, try to locate and fix its source. 2. No `wp_head()` and `wp_footer()` functions in template. Check header.php and footer.php files of your active theme. 3. Conflicts with other plugins and scripts 4. CSS incompatibility = Why the plugin is not working in Chrome (and other Webkit based browsers)? = Check your CSS files for these two instructions: `-webkit-backface-visibility:hidden; -webkit-transform: translate3d(0,0,0);` If found, disable them and see the result. = I have a responsive theme. How can I make the plugin compatible with it? = There are several options to accomplish this task. First, is to enable "Screen Max Width" option. For example you have a responsive styles: `@media screen and (max-width: 940px) {...}`. Set "Screen Max Width" = 940 - to disable plugin in responsive mode. Second, use "Inherit widget width from the parent container" option. = How to prevent overlapping with the footer? = Make sure you have updated plugin to version 2.x. Go to WP admin area, Appearance -> Fixed Widget Options. Here you can define top and bottom margins. Set bottom margin value >= footer height. Check the result. = Refresh Interval option = This option defines (in milliseconds, 1 sec = 1000 ms) how often plugin recalculates sticky widgets parameters. Required by sites with dynamic content (infinite scroll, image lazy load and other javascript stuff). The option have impact on the site performance (client side). Recommended values: 250 - 1500 milliseconds. If you don't have dynamic content, set Refresh interval = 0. = I am ready to pay for advanced help. How to contact you? = Send me email from this page: [http://www.q2w3.ru/contacts/](http://www.q2w3.ru/contacts/) == Screenshots == 1. Widget with enabled "Fixed widget" option 2. Fixed Widget Options 3. Margin top 4. Margin bottom == Other Notes == * [Code Insert Manager](http://wordpress.org/extend/plugins/q2w3-inc-manager/) * [Q2W3 Post Order](http://wordpress.org/extend/plugins/q2w3-post-order/) == Changelog == = 4.0.6 = * A small [bug fix](http://wordpress.org/support/topic/widget-gets-wider-when-it-reaches-the-top) * Added French translation = 4.0.5 = * New option "Inherit widget width from the parent container" to better support responsive layouts. * Javascript optimization. = 4.0.4 = * Added option "Auto fix widget id". It is on by default. If the plugin is working with this option switched off - leave it in off position! = 4.0.3 = * Optimized code to resolve [plugin crash after 4.0.1 update](http://wordpress.org/support/topic/the-plugin-crash-after-401-update) problem * Minified javascript code = 4.0.1 = * Hotfix! Removes problem with duplicated widget code. = 4.0 = * Resolved [widget jumping](http://wordpress.org/support/topic/widgets-below-fixed-widgets-jump-up) * Added code to automatically fix "widget id problem" * Added new compatibility option (plugin priority) * Added complete uninstall (uninstall script launched automatically when you DELETE plugin) * Added Spanish translation * Removed depricated options = 3.0 = * This version brings you a long waited capability to stick widgets located in different sidebars! Enjoy! * Fixed conflict with WP Page Widget plugin * A few small bugs cleaned * Warning! "Disable plugin on mobile devices" and "Disable plugin on tablet devices" options now are depricated and will be removed in the next release. Use "Screen Max Width" option instead! = 2.3 = * Now user can disable plugin, when browser window width is less then specified value (check plugin options). = 2.2.4 = * This version compatible with jQuery 1.9 and 1.10 = 2.2.3 = * Little internal improvments * Mobile Detect updated to version 2.6.0 = 2.2.2 = * Fixed PHP [Error](http://wordpress.org/support/topic/breakes-with-php-53) * Mobile Detect updated to version 2.5.8 = 2.2.1 = * Fixed PHP [Warning](http://wordpress.org/support/topic/error-with-the-new-update-22) = 2.2 = * Now the plugin is able to reflect dynamic page content changes (infinite scroll, ajax basket and other javascript stuff)!!! * Added new option to plugin settings: Refresh interval. Recommended values between 500 - 2000 milliseconds. Note: setting have impact on the site performance (client side). If you don't have dynamic content, set Refresh interval = 0. * Mobile Detect class updated to version 2.5.7 = 2.1 = * New option to define custom widget IDs for static sidebars and etc. * New option to disable plugin on mobile devices. * Fixed javascript error when no sidebars exists on a page. = 2.0 = * Fixed footer overlapping problem! Now users can customize top and bottom margins for the fixed widgets from the admin area (Appearance -> Fixed Widget Options). * Added localization support = 1.0.3 = * Normalized plugin behavior when sidebar is longer then main content. Note: possible overlapping with footer is still exists. = 1.0.2 = * Fixed problem with widgets displayed only on certain pages. * Optimized javascript code. = 1.0.1 = * Improved compatibility with Webkit based browsers (like Chrome and Safari). * Removed unnecessary CSS. = 1.0 = * First public release.