update
This commit is contained in:
parent
da12219d71
commit
128b7a4229
|
|
@ -3251,6 +3251,31 @@ $(document).ready(function() {
|
|||
}, 500);
|
||||
});
|
||||
});
|
||||
// 這段要放在所有其他 ready 之前執行
|
||||
$(document).ready(function () {
|
||||
|
||||
// 1. 先移除 main-content 裡面的重複 orbit-bar
|
||||
$('#main-content #orbit-bar').remove();
|
||||
$('.main-content #orbit-bar').remove();
|
||||
|
||||
// 2. 移除多餘的 orbit-bar-title(保留第一個)
|
||||
if ($('.orbit-bar-title').length > 1) {
|
||||
$('.orbit-bar-title').not(':first').remove();
|
||||
}
|
||||
|
||||
// 3. resize 時也防止累積
|
||||
$(window).off('resize.orbitbar').on('resize.orbitbar', function () {
|
||||
if ($('.orbit-bar-title').length > 1) {
|
||||
$('.orbit-bar-title').not(':first').remove();
|
||||
}
|
||||
});
|
||||
|
||||
});
|
||||
setTimeout(function() {
|
||||
$('.orbit-bar-logo').each(function() {
|
||||
$(this).find('img').not(':first').remove();
|
||||
});
|
||||
}, 600);
|
||||
// 執行 member等高計算,目前改用flexbox故mark掉 by ika 20160105
|
||||
// $(window).load(function() {
|
||||
// if ($('.index-member-3').length && $(window).width() > 992) {
|
||||
|
|
|
|||
|
|
@ -400,3 +400,14 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
.sign-up{
|
||||
input{
|
||||
height:2em!important;
|
||||
}
|
||||
.btn-group {
|
||||
margin-left: 5px !important;
|
||||
}
|
||||
.btn-primary:hover{
|
||||
color: #14324f!important;
|
||||
}
|
||||
}
|
||||
|
|
@ -9,7 +9,7 @@
|
|||
<div class="link-img-wrap{{display_image}}">
|
||||
<img src="{{img_src}}" alt="{{img_description}}" title="{{img_description}}">
|
||||
</div>
|
||||
<a class="widget-content-title" href="{{link_to_show}}" target="{{target}}" title="{{title_text}}">{{title}}</a>
|
||||
<a class="widget-content-title" href="{{link_to_show}}" target="{{target}}" title="{{title_text}}" onclick="{{onclick}}">{{title}}</a>
|
||||
<span data-list="statuses" data-level="1">
|
||||
<span class="label status {{status-class}}">{{status}}</span>
|
||||
</span>
|
||||
|
|
|
|||
Loading…
Reference in New Issue