fix error
This commit is contained in:
parent
bcf57cd459
commit
5898cb413d
|
@ -875,8 +875,8 @@ function transdate(){
|
||||||
$('.outdropdowns .modules-menu-level-1').css('right','')
|
$('.outdropdowns .modules-menu-level-1').css('right','')
|
||||||
$('.outdropdowns .modules-menu-level-1').css('width','')
|
$('.outdropdowns .modules-menu-level-1').css('width','')
|
||||||
}else{
|
}else{
|
||||||
var width = $('#main-nav').outerWidth();
|
var width = $('header #main-nav').outerWidth();
|
||||||
var right = $(window).width() - $('#main-nav').offset().left - width;
|
var right = $(window).width() - $('header #main-nav').offset().left - width;
|
||||||
if (width>50){
|
if (width>50){
|
||||||
calc_menu_flag = true;
|
calc_menu_flag = true;
|
||||||
$('.outdropdowns .modules-menu-level-1').css('right',right);
|
$('.outdropdowns .modules-menu-level-1').css('right',right);
|
||||||
|
@ -895,12 +895,12 @@ function transdate(){
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
$('#main-nav>li').on('mouseover',function(){
|
$('header #main-nav>li').on('mouseover',function(){
|
||||||
if (!calc_menu_flag){
|
if (!calc_menu_flag){
|
||||||
calc_menu_pos();
|
calc_menu_pos();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
$('#main-nav>li>a').on('focus',function(){
|
$('header #main-nav>li>a').on('focus',function(){
|
||||||
if (!calc_menu_flag){
|
if (!calc_menu_flag){
|
||||||
calc_menu_pos();
|
calc_menu_pos();
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,7 +17,13 @@
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.ad-banner-widget-6{
|
||||||
|
.w-ad-banner__caption a{
|
||||||
|
display: block;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
.w-ba-banner__wrap {
|
.w-ba-banner__wrap {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
|
|
@ -19,13 +19,10 @@
|
||||||
data-link="{{link}}"
|
data-link="{{link}}"
|
||||||
data-cycle-title="{{title}}"
|
data-cycle-title="{{title}}"
|
||||||
data-cycle-desc="{{context}}"
|
data-cycle-desc="{{context}}"
|
||||||
data-overlay-template="<div><h3>{{title}}</h3><p>{{desc}}</p></div>"
|
data-overlay-template="<a href='{{link}}' target='{{target}}' title='{{alt_title}}'><h3>{{title}}</h3><p>{{desc}}</p></a>"
|
||||||
data-target="{{target}}"
|
data-target="{{target}}"
|
||||||
>
|
>
|
||||||
<a href="{{link}}" target="{{target}}" title="{{alt_title}}">
|
<img class="w-ba-banner__image banner-responsive" src="{{image_link}}" alt="{{alt_title}}">
|
||||||
<img class="w-ba-banner__image banner-responsive" src="{{image_link}}" alt="{{alt_title}}">
|
|
||||||
</a>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="ad-overlay w-ba-banner__caption w-ad-banner__caption w-ad-banner__overlay_{{subpart-id}}"></div>
|
<div class="ad-overlay w-ba-banner__caption w-ad-banner__caption w-ad-banner__overlay_{{subpart-id}}"></div>
|
||||||
|
|
Loading…
Reference in New Issue