-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php@route=journal2%2Fassets%2Fjs&j2v=2.7.3
57 lines (34 loc) · 1.33 KB
/
index.php@route=journal2%2Fassets%2Fjs&j2v=2.7.3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
Journal.notificationTimer = parseInt('1700', 10);
Journal.quickviewText = 'Просмотр';
Journal.scrollToTop = parseInt('1', 10);
Journal.stickyTopSpacing = 0;
Journal.BASE_HREF = 'url(' + $('base').attr('href') + ')';
$(document).ready(function () {
Journal.productPage();
$('.product-tabs').insertAfter('.product-info');
Journal.enableProductOptions();
Journal.updatePrice = true;
Journal.enableSideBlocks();
Journal.searchAutoComplete();
Journal.enableQuickView();
Journal.quickViewStatus = true;
Journal.productPageGallery();
$('.product-list-item .image .wishlist:hidden, .product-list-item .image .compare:hidden, .product-grid-item .product-details .wishlist:hidden, .product-grid-item .product-details .compare:hidden').remove();
$(window).scroll(function () {
if ($(this).scrollTop() > 300) {
$('.scroll-top').fadeIn(200);
} else {
$('.scroll-top').fadeOut(200);
}
});
$('.scroll-top').click(function () {
$('html, body').animate({scrollTop: 0}, 700);
});
$('#top-modules > .hide-on-mobile').parent().addClass('hide-on-mobile');
$('#bottom-modules > .hide-on-mobile').parent().addClass('hide-on-mobile');
$('#top-modules .gutter-on').parent().addClass('gutter');
$('#bottom-modules .gutter-on').parent().addClass('gutter');
$(window).resize();
Journal.init();
});
/* Custom JS */