<!--
میگو دو رنگ کلاغ سفید میگو آبی قورباغه زرد بالونی مورچه سرخ پشمالو طاووس سفید فالبین صورتی کبوتر هفت رنگ خروس سیاه ملخ صورتی مرغ عشق دو رنگ حلزون بنفش خرچنگ هالوین سنجاب سفید مار رنگارنگ مرغ بهشت ویلسون مرغ بهشت شاه زاکسن مرغ بهشت ویلسون
-->
#carousel3539, #thumbs3539 , #carousel_desc3539 { overflow: hidden; } #carousel-wrapper3539 .caroufredsel_wrapper img{ /*border-radius: 10px;*/ border : 2px solid #ddd } #carousel-wrapper23539 .caroufredsel_wrapper img{ /*border-radius: 10px;*/ border : 2px solid #ddd } #carousel3539 span, #carousel3539 img, #thumbs3539 a, #thumbs3539 img { display: block; float: left; } #carousel_desc3539 span { width: 100%; /* height: 100%; */ display: block; float: left; position: relative; padding: 9px; } #carousel3539 span, #carousel3539 a, #thumbs3539 span, #thumbs3539 a { position: relative; display: block; height: 100%; } #carousel3539 img, #thumbs3539 img { border: none; width: 100%; height: 100%; position: absolute; top: 0; left: 0; } #carousel3539 span { width: 554px; height: 313px; } #carousel_desc3539 span { width: 554px; height: auto; } #thumbs-wrapper3539 { padding: 20px 40px; position: relative; } #thumbs3539 a { border: 1px solid #ddd; width: 150px; height: 100px; margin: 0 10px; overflow: hidden; -webkit-transition: border-color .5s; -moz-transition: border-color .5s; -ms-transition: border-color .5s; transition: border-color .5s; } #thumbs3539 a:hover, #thumbs3539 a.selected { border-color: #566; } .fluid_container_album img#shadow { width: 100%; position: absolute; bottom: 0; } .next_thumbnail3539 { background-position: -19px 0; right: 10px; } .next_thumbnail3539:hover { background-position: -19px -20px; } .prev_thumbnail3539 { background-position: 0 0; left: 10px; } .prev_thumbnail3539:hover { background-position: 0 -20px; } .next_thumbnail3539, .prev_thumbnail3539 { background-image: url("/client/themes/fa/main/img/carousel_nav.png"); display: block; height: 20px; margin-top: -10px; position: absolute; top: 50%; width: 19px; } $(function() { $('#carousel3539').carouFredSel({ responsive: true, circular: false, auto: false, items: { visible: 1, width: 200, height: '56%' }, scroll: { fx: 'directscroll' } }); /* $('#carousel_desc3539').carouFredSel({ responsive: true, circular: false, auto: false, items: { visible: 1, width: 200, height: '30%' }, scroll: { fx: 'directscroll' } }); */ $('#thumbs3539').carouFredSel({ responsive: true, circular: false, auto: false, prev: '.next_thumbnail3539', next: '.prev_thumbnail3539', items: { visible: { min: 2, max: 6 }, width: 150, height: '66%' } }); $('#thumbs3539 a').click(function() { $('#carousel3539').trigger('slideTo', '#' + this.href.split('#').pop() ); /* $('#carousel_desc3539').trigger('slideTo', '#' + this.href.split('#').pop() ); */ $('#thumbs3539 a').removeClass('selected'); $(this).addClass('selected'); return false; }); });