* @copyright (c), Thread
*
* @var $model \frontend\modules\map\models\Item
*/
$gallery = $model->getGalleryItemsPath();
?>
($img['title']) ? $img['title'] : $model['lang']['title']
])
. Html::tag('p', $img['title'], [
'class' => 'gallery_title'
])
. Html::endTag('li');
}
?>
registerJs("
$(document).ready(function () {
$('.bxslider').bxSlider({
auto: true,
infiniteLoop: true,
autoControls: true,
stopAutoOnClick: true,
pager: true,
slideWidth: 600
});
$('.nav-tabs li').on('click', function () {
if ($(this).find('a').attr('href') == '#galery') {
$('.gallery_slide_block').css('left', \"40px\");
} else {
$('.gallery_slide_block').css('left', \"-10000px\");
}
});
});
");