Commit 0ffb4cbd authored by imac's avatar imac

[Bugfix]FF : fadein image home

parent 6c46b2a2
......@@ -217,6 +217,12 @@ select,option{
background-size: 11px;
padding-left: 25px;
}
.search_result {
position: relative;
display: block;
top: 80px;
font-size: 11px;
}
/*==========================================================================
II/ Helper..............Helper classes
========================================================================== */
......@@ -282,6 +288,8 @@ II/ Helper..............Helper classes
-o-transition: all .6s ease-in-out;
-ms-transition: all .6s ease-in-out;
transition: all .6s ease-in-out;
}
.right-panel-wrapper.transition{
-webkit-transition: all 1s ease-in-out;
......@@ -290,6 +298,18 @@ II/ Helper..............Helper classes
-ms-transition: all 1s ease-in-out;
transition: all 1s ease-in-out;
}
.animate {
-moz-animation: fadeIn .6s ease-in;
-moz-animation-fill-mode: backwards;
}
@-moz-keyframes fadeIn {
from {opacity: 0.5;}
to {opacity: 1;}
}
.btn{
cursor: pointer;
margin-bottom: 5px;
......
......@@ -167,12 +167,17 @@ $('.footer-home-content').on('click','.home-down:not(.scrolled)',function(e){
{
srcImage = $('#home .img-wrapper').data('defaultimg');
}
$('.img-wrapper').removeClass('animate');
$('.img-wrapper').stop().animate({
opacity: 1,
}, 500, function() {
opacity:0,
}, 500, function() {});
$('.img-wrapper').stop().animate({
opacity:1,
},500, function() {
$('.img-wrapper').addClass('animate');
$('.img-wrapper').css({
'background-image': "url("+ srcImage +")"
})
'background-image': "url("+ srcImage +")",
});
});
}
$.fn.showSubmenu = function(){
......
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