var userAgentInfo = navigator.userAgent;
if (userAgentInfo.indexOf("Android") > 0 || userAgentInfo.indexOf("iPhone") > 0 || userAgentInfo.indexOf("SymbianOS") > 0 || userAgentInfo.indexOf("Windows Phone") > 0 || userAgentInfo.indexOf("iPod") > 0 || userAgentInfo.indexOf("iPad") > 0)
{
window.location.href = "http://cf1234.cn/m/";
}else {
}
var public_image='http://templateimg.china-dirs.cn/ui_img/034/03400053/language/cn/';
function class1_change(locationid){
var board=document.getElementById("board");
var Menuid=document.getElementById("Menuid");
var searchtxt=document.getElementById("search_text");
var boardLength=null;
board.length=0;
board.options[0]= new Option("所有分類(lèi)","all");
for(i=0;i
var cnnic_kexin_no='e12021732050011463302076'
$(window).load(function() {
$('#slider').nivoSlider();
});
$(document).ready(function() {
$("a.group").fancybox({
'transitionIn' : 'elastic',
'transitionOut' : 'elastic',
'speedIn' : 600,
'speedOut' : 200,
'overlayShow' : true,
'overlayColor' : '#000',
'overlayOpacity': 0.8
});
});
$(function() {
$('.fr_menu ul.sl_menu').slMenu({ disableLinks: false });
$('.fr_menu ul.sl_menu li ul li:has(ul)').find("a:eq(0)");
//right.gif為小箭頭圖片
})
$(function() {
var acmenli = $(".acmenu > li"), acmenliul = $(".acmenu > li > ul"), acmenlili = $(".acmenu > li > ul li"), hoverTimer;
var acmena = $(".acmenu a");
acmena.click(function(){
if($(this).next("ul").children("li").length>0)
{
if($(this).children("ul:hidden").length>0)
$(this).next("ul").slideUp(300);
else
$(this).next("ul").slideToggle(300);
return false;
}
});
})
$(document).ready(function(){
// hide #back-top first
$("#backToTop").hide();
// fade in #back-top
$(function () {
$(window).scroll(function () {
if ($(this).scrollTop() > 100) {
$('#backToTop').fadeIn();
} else {
$('#backToTop').fadeOut();
}
});
// scroll body to 0px on click
$('#backToTop a').click(function () {
$('body,html').animate({
scrollTop: 0
}, 800);
return false;
});
});
});
返回頂部
$(function() {
if (window.PIE) {
$('.frame').each(function() {
PIE.attach(this);
});
}
});
window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"0","bdSize":"16"},"slide":{"type":"slide","bdImg":"4","bdPos":"left","bdTop":"100"},"image":{"viewList":["qzone","tsina","tqq","renren","weixin","mshare","sqq","douban","kaixin001","mogujie","meilishuo"],"viewText":"分享到:","viewSize":"16"},"selectShare":{"bdContainerClass":null,"bdSelectMiniList":["qzone","tsina","tqq","renren","weixin","mshare","sqq","douban","kaixin001","mogujie","meilishuo"]}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];