/* Js for www.zicoplk.com, Version=1737373862 */
v.lang = {"confirmDelete":"Do you want to delete it?","deleteing":"Deleting","doing":"Doing","loading":"Loading","updating":"Updating","timeout":"Timeout. Please try it again.","errorThrown":"
Error <\/h4>","continueShopping":"Continue shopping","required":"Required","back":"Back","continue":"Continue","importTip":"Old layout data will be replaced","fullImportTip":"Old article, product, layout data will be replaced and import test data"};;var currentBlockID = 101;
if(typeof($('#block' + currentBlockID).parent('.col').data('grid')) === 'undefined' && $('#block' + currentBlockID).parent('.col').data('probability') === 'undefined')
{
var grid = $('#block' + currentBlockID).parents('.blocks').data('grid');
grid = typeof(grid) == 'undefined' ? 12 : grid; $('#block' + currentBlockID).parent('.col').attr('data-grid', grid).attr('class', 'col col-' + grid);
}$('.articleTitleA').each(function()
{
$(this).css('max-width', $(this).parents('li').width() - $(this).prev('.category').width() - $(this).next('.sticky').width() - $(this).parent().next('.article-date').width() - 10);
})
$('.articleTitleB').each(function()
{
$(this).css('max-width', $(this).parent('li').width() - $(this).next('.sticky').width() - 10);
})
;
$('#page').fullpage({
autoTime: 5000,
navigation: true,
anchors: ['page1', 'page2', 'page3', 'page4', 'page5', 'page6'],
menu: '#menu',
navigationTooltips: ['網站首頁', '關於(yú)我們', '產品中心', '市(shì)場(chǎng)營銷', '新聞資訊', '聯係我們'],
afterLoad: function(anchorLink, index) {
var loadedSection = $(this);
$('#fp-nav').find('li').eq((index - 1)).addClass('on').siblings('li').removeClass('on');
}
});
var swiper = new Swiper('#swiper1', {
speed:2000,
autoplay : {
delay:5000,
disableOnInteraction: false
},
slidesPerView: 5
});
var swiper = new Swiper('#swiper2',{
loop:true,
loopedSlides:3,
spaceBetween:80,
centeredSlides:true,
slidesPerView : 'auto',
pagination: '.swiper-pagination',
nextButton: '.swiper-button-next',
prevButton: '.swiper-button-prev',
breakpoints: {
1600: {
spaceBetween:40,
}
}
});