update template
This commit is contained in:
parent
17c935e80b
commit
664e129b77
|
@ -520,7 +520,7 @@ body{
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
position: fixed!important;
|
position: fixed!important;
|
||||||
left: 0;
|
left: 0;
|
||||||
top:2.5em;
|
//top:2.5em;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
min-width: 100%;
|
min-width: 100%;
|
||||||
|
|
|
@ -131,7 +131,9 @@ if (typeof onYouTubeIframeAPIReady !== 'function'){
|
||||||
var banner_wrap = $(iframe).parents('.w-ba-banner__wrap').eq(0);
|
var banner_wrap = $(iframe).parents('.w-ba-banner__wrap').eq(0);
|
||||||
banner_wrap.height(height).css({"padding-bottom":"","padding-top":""});
|
banner_wrap.height(height).css({"padding-bottom":"","padding-top":""});
|
||||||
banner_wrap.find(".cycle-carousel-wrap").css("top","3em");
|
banner_wrap.find(".cycle-carousel-wrap").css("top","3em");
|
||||||
delete (event.target.B || event.target.H).onStateChange;
|
try{
|
||||||
|
delete (event.target.B || event.target.H || event.target.I).onStateChange;
|
||||||
|
}catch(e){console.log("{onReady: true, onStateChange: true} missing!")};
|
||||||
var onStateChange_idx = event.target.l.i.onStateChange;
|
var onStateChange_idx = event.target.l.i.onStateChange;
|
||||||
onStateChange_idx.reverse();
|
onStateChange_idx.reverse();
|
||||||
var event_size = 3;
|
var event_size = 3;
|
||||||
|
@ -194,6 +196,7 @@ if (typeof onYouTubeIframeAPIReady !== 'function'){
|
||||||
/*
|
/*
|
||||||
var height = opts.slides.filter('.active').height() || opts.slides.height();
|
var height = opts.slides.filter('.active').height() || opts.slides.height();
|
||||||
banner_wrap.height(height)*/
|
banner_wrap.height(height)*/
|
||||||
|
if(banner_wrap.find('.cycle-slide-active iframe').length != 0)
|
||||||
banner_wrap.css("padding-bottom","");
|
banner_wrap.css("padding-bottom","");
|
||||||
{{extra_document_ready_script}}
|
{{extra_document_ready_script}}
|
||||||
$('.pause-slide').off('click').click(function(){
|
$('.pause-slide').off('click').click(function(){
|
||||||
|
|
Loading…
Reference in New Issue