Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A tiny jQuery plugin that keeps an element in the browser viewport.
JavaScript
Tree: b1586ecb75

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
js
.gitignore
README.markdown
jquery-always-on-screen-test.html

README.markdown

jQuery Always on Screen Plugin

This plugin takes an element and applies a CSS class to it when it would scroll off screen. It removes the class when it is fully in the browser viewport. The CSS class should make the element "position:fixed;" and 10px off the top of the window so that as you scroll the element stays on screen.

A quick snippet written by: Timmy Christensen

Something went wrong with that request. Please try again.