Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- jQuery(window).scroll(function() {
- var vscroll = jQuery(this).scrollTop();
- jQuery('#logotext').css({
- 'transform' : 'translate( 0px, ' + vscroll / 2 + 'px)'
- });
- jQuery('#foreflower').css({
- 'transform' : 'translate(' + vscroll / 5 + 'px, ' + vscroll / 12 + 'px)'
- });
- jQuery('#backflower').css({
- 'transform' : 'translate( 0px, ' + vscroll / 2 + 'px)'
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement