My query is not regarding position:fixed.
While scrolling down the page, I aim for the element to move down along with the page until it goes beyond the view of the browser. Once it goes out of the view, it should stay close to the top of the page, yet still visible for the user to click on it.
This functionality is visible in Facebook advertisements on the right-hand column. (visit Facebook to see it in action)
Is there a JQuery plugin available that can achieve this effect?