Hi is it possible to disable window scrolling without using overflow:hidden; when i\'m hover an element?
i tryed :
$(\'.chat-content\').
CSS 'fixed' solution (like Facebook does):
body_temp = $("")
.append($('body').contents())
.css('position', 'fixed')
.css('top', "-" + scrolltop + 'px')
.width($(window).width())
.appendTo('body');
to toggle to normal state:
var scrolltop = Math.abs($('.body_temp').position().top);
$('body').append($('.body_temp').contents()).scrollTop(scrolltop);