Created
November 30, 2012 10:31
-
-
Save beshur/4175034 to your computer and use it in GitHub Desktop.
jQuery dummy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Bankoscopo JS */ | |
var page_var = { | |
w_w: $(window).width(), | |
w_h: $(window).height(), | |
s_t: $("html, body").scrollTop() | |
} | |
$(function() { | |
}); | |
window.onload = function() { | |
$(window).resize(); | |
// load | |
}; | |
$(window).resize(function() { | |
page_var.w_w = $(window).width(); | |
page_var.w_h = $(window).height(); | |
// resize | |
}); | |
$(window).scroll(function() { | |
// scroll | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment