<video width="800" height=600" controls controlsList="nodownload">
<source data-src="/images/home-video.mp4" type="video/mp4">
</video>
function scrollbarWidth() {
var $inner = $('<div style="width:100%; height:200px;"></div>'),
$outer = $('<div style="width:200px;height:150px;position:absolute;top:0;left:0;visibility:hidden;overflow:hidden;"></div>').append($inner),
inner = $inner[0],
outer = $outer[0];
$('body').append(outer);
var width1 = inner.offsetWidth;
$outer.css('overflow', 'scroll');
var width2 = outer.clientWidth;
$outer.remove();
return (width1 - width2);
};
http://www.eurogazstroy.ru/bitrix/cache/js/s1/euro/template_0edfc10eb291a57b138ae73bdf2fb41e/template_0edfc10eb291a57b138ae73bdf2fb41e.js?
.classname iframe{
pointer-events: none;
}
$('.classname').click(function () {
$('.classname iframe').css("pointer-events", "auto");
});
$( ".classname" ).mouseleave(function() {
$('.classname iframe').css("pointer-events", "none");
});
jQuery(document).ready(function(){
setTimeout(function(){
if (jQuery("#idполя куда что-то ввели").val() == "") {
jQuery('.onestepcheckout').find('input:not(:disabled)').prop('disabled', true);
} else if (jQuery("#idполя куда что-то ввели").val() != "") {
jQuery('.onestepcheckout').find('input:disabled').prop('disabled', false);
}
}, 2500);
});
$("#select-id").change(function(){
var selt_value = $('option:selected',this).text();
});
$(this).removeAttr('style');
$('#someDiv').attr('style','');
$('.page').css({"width":"", "height":"", "top": "", "left" : ""});
$("#getSliderImages").click(function () {
$("#carousel-example-generic").load();
});
if( obj.scrollTop === (obj.scrollHeight - obj.offsetHeight))
{
}
$(window).on("scroll", function () {
var scrollHeight = $(document).height();
var scrollPosition = $(window).height() + $(window).scrollTop();
if ((scrollHeight - scrollPosition) / scrollHeight === 0) {
/* Do something */
}
});