Commit 3a9e0a9a authored by imac's avatar imac

[Bugfix/Update]Catalogue : add space on last section && jump on animation && remove center slide

parent d1d60daa
......@@ -1592,7 +1592,7 @@ aside.news-wrapper {
}
.cover-wrapper.prev{
top: -100%;
z-index: 4;
z-index: 4 !important;
}
.cover-wrapper.next{
display: block;
......@@ -1864,6 +1864,7 @@ input.search{
border-radius: 50%;
background-position: top;
margin-bottom: 14px;
background-size: cover;
}
.commercial-details h3{
font-family: 'Crete Round';
......
......@@ -6,6 +6,9 @@ $(function(){
$('a[href^="#"], .easyzoom a').click(function(e){
e.preventDefault();
});
$('.download-btn').click(function(e){
e.stopPropagation();
});
//load content page on left Panel
$('.footer .right li:not(.nl)').on('click','a',function(e){
$('html').css('overflow','hidden');
......@@ -37,7 +40,7 @@ $(function(){
$('.gallery-wrapper').removeClass('hidden-elem').addClass('animated visible-elem fadeInUp');
},0)
});
});
});
//Get file name of uploaded file
$('#file-p').on('change',function(e){
var fileName = e.target.files[0].name;
......@@ -294,6 +297,7 @@ $.fn.getMenuBg = function(){
$('.right-panel').outerWidth(windowWidth - (navMenuWidth + filterWidth));
$('.contact-form').height(windowHeight - footerHeight);
$('.contact-form .inner-form').outerHeight(windowHeight - footerContact);
$('#catalogue .panel-content section').last().height(windowHeight - footerHeight);
}
});//END Function
......@@ -416,7 +420,7 @@ $(window).load( function() {
$(window).on("scroll",{ items: "li .subcat a"},onScroll)
$(document).ready(function(){
$('.nav-content li').on('mouseover',function(){
$(this).fadeImage();
$(this).stop(true,true).fadeImage();
});
// Catalog Page : Change product image depending on selected color
$('.product-list article ul li').on('mouseover',function(){
......
......@@ -53,7 +53,7 @@ $.fn.slider_product = function(){
arrows:true,
dots: true,
slidesToShow: 1,
centerMode: true,
//centerMode: true,
centerPadding: '0px',
});
}
......@@ -108,7 +108,6 @@ $.fn.productAnimation = function(){
tlProduct.fromTo('.product-info',1,{autoAlpha:0, marginLeft:"-10%"},{autoAlpha:1, marginLeft:"0"},1.2);
}
$('.product-list article img, .product-list article ul li').on('click', function() {
$('html').css('overflow','hidden');
var toLink = $(this).data('link');
$('.load-page').parent().addClass('active');
$('.load-page').load(toLink,function(){
......@@ -120,6 +119,7 @@ $('.product-list article img, .product-list article ul li').on('click', function
$('article[data-color], .list-color li span').selectSlide($('#slides'));
$('#mozaique').open_gallery();
initFunction();
$('html').css('overflow','hidden');
setTimeout(function(){
$.fn.productAnimation();
$('#product .product-list').showRightPanel();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment