Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(document).ready(function() {
- $('html, body, *').mousewheel(function(e, delta) {
- this.scrollLeft -= (delta);
- e.preventDefault();
- });
- });
- $(window).scroll(function() {
- var $image = $(".image_test");
- var $rt = ($("body").width() - ($image.offset().left + $image.outerWidth()));
- console.log($rt);
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement