Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //horizontal scroll fix
- (function($){
- $(window).on('resize', fullwidth_it);
- function fullwidth_it(){
- var w = $(window).width();
- var c = 940;
- r = (w - c)/2;
- $obj = $('.right-outline, .style3#rt-header ul.menu')
- $obj.css({ 'padding-right' : r, 'margin-right': '-'+r+'px' })
- return;
- }
- $(window).load(function(){
- fullwidth_it();
- });
- })(jQuery);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement