Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to lose overflow in js without hidden

var scrollTop = parseInt($('html').css('top'));
$('html').removeClass('noscroll');
$('html,body').scrollTop(-scrollTop);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #lose #overflow #js #hidden
ADD COMMENT
Topic
Name
1+6 =