@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)
{
html{
overflow: hidden;
height: 100%;
}
body{
overflow: auto;
height: 100%;
}
}
Для ie9, ie8 и ie7
<!--[if lte IE 9]>
<style type=text/css>
html{
overflow: hidden;
height: 100%;
}
body{
overflow: auto;
height: 100%;
}
</style>
<![endif]-->
$('.address .place').on('click', function(){
var setCor = $(this).attr('pointcor').split(',');
// распарсили строку по ',' в массив
myMap.setCenter(setCor, 16);
// передали в функию новые координаты с нужным зумом
});
$('.slick-arrow').on('click', function(){
var heights = [];
$('.slick-active').each(function(){
heights.push($(this).height());
});
$('#slider').height(Math.max.apply(null, heights));
});