...
|
...
|
@@ -65,10 +65,12 @@ $(window).scroll(function() { |
|
|
|
|
|
function rightBarBindClick() {
|
|
|
$('#right-bar .con').find('b').unbind().on('touchstart', function(e) {
|
|
|
var index = $(this).index();
|
|
|
var index = $(this).index(),
|
|
|
top;
|
|
|
|
|
|
if ($('.bar-' + index).size() > 0) {
|
|
|
document.body.scrollTop = parseInt($('.bar-' + index)[0].offsetTop) - parseInt(brandSwipe - 1);
|
|
|
top = parseInt($('.bar-' + index)[0].offsetTop) - parseInt(brandSwipe - 1);
|
|
|
$(document).scrollTop(top);
|
|
|
}
|
|
|
e.stopPropagation();
|
|
|
});
|
...
|
...
|
|