by strx on November 26, 2010
If you scroll down this site, especially on long posts, you will see the right sidebar following you.
It is a plugin I’ve written, that I’ve decided to release publicly on wordpress.org site.
If you have a classic 2 or 3 column site with a sidebar, this plugin can increase usability for users and ads earning for you, whatch at these 2 images:
QUIZ: Where is easier to click on the Google ADS?
I choose image number 2…
This plugin is different from others because don’t use fixed positions (sidebar can be taller than content) and don’t require theme or visual changes to your blog.
I’ve recorded the plugin in action. You can configure about anything, from speed to activation delay from when the user stops scrolling. In this video you can also see that when the content is lower than sidebar, nothing happens.
The plugin is wel documented and the configuration can be made from wordpress admin area, under Settings->Strx Floating Sidebar.
There can be only one difficult thing: identify content and sidebar html selectors (id attribute of div). You can use Firebug (the inspect button) or the plugin utility to show all the ids on the footer that will change bacround-color of related div clicking on them.
To test or understand why someting is wrong, you can activate the outline and debug checks: the first will print debug info on console (Chrome, Firefox with firebug, IE8), the second will outline with a red, dotted line, the content and sidebar divs. All of this debugging features will be executed only if you are logged in to your site, so without scaring users.