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