#carousel1589, #thumbs1589 , #carousel_desc1589 { overflow: hidden; } #carousel-wrapper1589 .caroufredsel_wrapper img{ border-radius: 10px; border : 2px solid #839494 } #carousel-wrapper21589 .caroufredsel_wrapper img{ border-radius: 10px; border : 2px solid #839494 }#carousel1589 span, #carousel1589 img, #thumbs1589 a, #thumbs1589 img { display: block; float: left; } #carousel_desc1589 span{ width: 100%; /* height: 100%; */ display: block; float: left; position: relative; padding: 9px; }#carousel1589 span, #carousel1589 a, #thumbs1589 span, #thumbs1589 a { position: relative; display: block; height: 100%; } #carousel1589 img, #thumbs1589 img { border: none; width: 100%; height: 100%; position: absolute; top: 0; left: 0; } #carousel1589 span { width: 554px; height: 313px; }#carousel_desc1589 span { width: 554px; height: auto; }#thumbs-wrapper1589 { padding: 20px 40px; position: relative; } #thumbs1589 a { border: 2px solid #899; width: 150px; height: 100px; margin: 0 10px; overflow: hidden; border-radius: 10px; -webkit-transition: border-color .5s; -moz-transition: border-color .5s; -ms-transition: border-color .5s; transition: border-color .5s; } #thumbs1589 a:hover, #thumbs1589 a.selected { border-color: #566; }.fluid_container_album img#shadow { width: 100%; position: absolute; bottom: 0; } $(function() { $('#carousel1589').carouFredSel({ responsive: true, circular: false, auto: false, items: { visible: 1, width: 200, height: '56%' }, scroll: { fx: 'directscroll' } }); /* $('#carousel_desc1589').carouFredSel({ responsive: true, circular: false, auto: false, items: { visible: 1, width: 200, height: '30%' }, scroll: { fx: 'directscroll' } }); */ $('#thumbs1589').carouFredSel({ responsive: true, circular: false, auto: false, prev: '#prev', next: '#next', items: { visible: { min: 2, max: 6 }, width: 150, height: '66%' } }); $('#thumbs1589 a').click(function() { $('#carousel1589').trigger('slideTo', '#' + this.href.split('#').pop() ); /* $('#carousel_desc1589').trigger('slideTo', '#' + this.href.split('#').pop() ); */ $('#thumbs1589 a').removeClass('selected'); $(this).addClass('selected'); return false; }); });