请登录
玩家共建非官方战双WIKI,做最还原游戏内UI体验的WIKI!
战双WIKI反馈留言板 · WIKI编辑教程 · BWIKI收藏到桌面的方法说明
Widget:Text9
<script>(window.RLQ = window.RLQ || []).push(['jquery', () => {
jQuery(document).ready( function($) {
if( $.fn.fsvs ) { var slider = $.fn.fsvs({ speed : 1000, nthClasses : 4, mouseDragEvents : false }); }
if( $.fn.flare ) { var flares = $('.flare').flare(); for( var flare in flares ) { //flares[flare].reset(); } }
var sectionHeight = $('#fsvs-body > .slide:eq(0)').height(); $('#fsvs-body > .slide').each( function(){ var section = $(this), item = $('.item', section ), demo = $('.demo', section ), itemHeight = item.outerHeight(), demoHeight = demo.outerHeight(); item.css({ marginTop : ( ( sectionHeight - itemHeight ) / 2 ) + 'px' }); demo.css({ marginTop : ( ( sectionHeight - demoHeight ) / 2 ) + 'px' });
});
$(window).load(function(){
});
});
}]); </script>