Помогите пожалуйста подкоректировать часть скрипта слайдера
надо что бы при наведении стиль jmsWrapper заменялся на jmsWrapper_
или же что бы значение box-shadow менялось с 3px на 2px.
Ниже часть скрипта и стиль.
Заранее спасибо
Код:
// wrap the slides. This wrapper will be the element on which we will call the jmpress plugin
this.$jmsWrapper = this.$slides.wrapAll( '<div class="jms-wrapper" />' ).parent();
// transition speed for the wrapper bgcolor
this.$jmsWrapper.css( {
'-webkit-transition-duration' : this.options.bgColorSpeed,
'-moz-transition-duration' : this.options.bgColorSpeed,
'-ms-transition-duration' : this.options.bgColorSpeed,
'-o-transition-duration' : this.options.bgColorSpeed,
'transition-duration' : this.options.bgColorSpeed
} );
Код:
.jms-wrapper {
width: auto;
min-width: 600px;
height: 270px;
background-color: #fff;
box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
-moz-border-radius: 25px 25px 25px 25px;
border-radius: 25px 25px 25px 25px;
-moz-box-shadow:3px 3px 1px grey;
-webkit-box-shadow:3px 3px 1px grey;
box-shadow:3px 3px 1px grey;
-webkit-transition: background-color 1s linear;
-moz-transition: background-color 1s linear;
-o-transition: background-color 1s linear;
-ms-transition: background-color 1s linear;
transition: background-color 1s linear;
}