Skip to content

Instantly share code, notes, and snippets.

/*static.js
* @author: takien
* @link: http://takien.com
* static element uses jQuery, no CSS required.
* Usage: add class 'element-static' to your element to make it static
*/
jQuery(document).ready(function($){
function element_static(scroll){
$('.element-static').each(function() {