اجتماعی

عکس هایی از شهر تهران ۱۴۰۰/ عکاس امین خانی

#carousel342, #thumbs342 , #carousel_desc342 { overflow: hidden; } #carousel-wrapper342 .caroufredsel_wrapper img{ border-radius: 10px; } #carousel-wrapper2342 .caroufredsel_wrapper img{ border-radius: 10px; } #carousel342 span, #carousel342 img, #thumbs342 a, #thumbs342 img { display: block; float: left; } #carousel_desc342 span { width: 100%; height: auto; display: block; float: left; position: relative; padding: 9px; } #carousel342 span, #carousel342 a, #thumbs342 span, #thumbs342 a { position: relative; display: block; height: 100%; } #carousel342 img, #thumbs342 img { border: none; width: 100%; height: auto; position: absolute; top: 0; left: 0; } #carousel342 span { width: 554px; height: 313px; border-radius: 10px; overflow: hidden; } #carousel_desc342 span { width: 554px; height: auto; } #thumbs-wrapper342 { padding: 20px 40px; position: relative; } #thumbs342 a { border: 1px solid transparent; 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; } #thumbs342 a:hover, #thumbs342 a.selected { border-color: #e40815; } .fluid_container_album img#shadow { width: 100%; position: absolute; bottom: 0; } .next_thumbnail342 { background-position: -19px 0; right: 10px; } .next_thumbnail342:hover { background-position: -19px -20px; } .prev_thumbnail342 { background-position: 0 0; left: 10px; } .prev_thumbnail342:hover { background-position: 0 -20px; } .next_thumbnail342, .prev_thumbnail342 { 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() {

$(‘#carousel342’).carouFredSel({
responsive: true,
circular: false,
auto: false,
items: {
visible: 1,
width: 200,
height: ‘56%’
},
scroll: {
fx: ‘directscroll’
}
});

/* $(‘#carousel_desc342’).carouFredSel({
responsive: true,
circular: false,
auto: false,
items: {
visible: 1,
width: 200,
height: ‘30%’
},
scroll: {
fx: ‘directscroll’
}
}); */

$(‘#thumbs342’).carouFredSel({
responsive: true,
circular: false,
auto: false,
prev: ‘.next_thumbnail342’,
next: ‘.prev_thumbnail342’,
items: {
visible: {
min: 2,
max: 6
},
width: 150,
height: ‘66%’
}
});

$(‘#thumbs342 a’).click(function() {
$(‘#carousel342’).trigger(‘slideTo’, ‘#’ + this.href.split(‘#’).pop() );
/* $(‘#carousel_desc342’).trigger(‘slideTo’, ‘#’ + this.href.split(‘#’).pop() ); */
$(‘#thumbs342 a’).removeClass(‘selected’);
$(this).addClass(‘selected’);
return false;
});

});

نوشته های مشابه

دیدگاهتان را بنویسید

نشانی ایمیل شما منتشر نخواهد شد. بخش‌های موردنیاز علامت‌گذاری شده‌اند *

دکمه بازگشت به بالا