测试
加载中...
2023-11-25
socialShare('#share-1');
function tsina() { document.getElementById("social-share-weibo").click(); }
function weixin() { document.getElementById("weixin").click(); }
function sqq() { document.getElementById("social-share-qq").click(); }
function douban() { document.getElementById("douban").click(); }
function tqq() { document.getElementById("tqq").click(); }
function qzone() { document.getElementById("social-share-qzone").click(); }
function mshare() { document.getElementById("mshare").click(); }
function more() { document.getElementById("more").click(); }
function print1() { document.getElementById("print1").click(); }
function renren() { document.getElementById("renren").click(); }
function neteasemb() { document.getElementById("neteasemb").click(); }
function copy() { document.getElementById("copy").click(); }
function mail() { document.getElementById("mail").click(); }
function tsohu() { document.getElementById("tsohu").click(); }
function kaixin001() { document.getElementById("kaixin001").click(); }
function fx() { document.getElementById("fx").click(); }
function fbook() { document.getElementById("fbook").click(); }
function twi() { document.getElementById("twi").click(); }
function google() { document.getElementById("google").click(); }
if (!window.jQuery) {
document.write(unescape("%3Cscript src='/public/static/common/js/jquery.min.js' type='text/javascript'%3E%3C/script%3E"));
document.write(unescape("%3Cscript type='text/javascript'%3E try{jQuery.noConflict();}catch(e){} %3C/script%3E"));
}
if (window.jQuery) {
(function($){
default_switch();
//简体繁体互换
function default_switch()
{
var home_lang = getCookie('home_lang');
if (home_lang == '') {
home_lang = 'cn';
}
if ($.inArray(home_lang, ['zh','cn'])) {
var obj = $('#jquerys2t_1573822909');
var isSimplified = getCookie('jquerys2t_1573822909');
if ('cn' == isSimplified) {
$('body').t2s();
$(obj).text('繁體');
} else if ('zh' == isSimplified) {
$('body').s2t();
$(obj).text('简体');
}
}
}
//简体繁体互换
$('#jquerys2t_1573822909').click(function(){
var obj = this;
var isSimplified = getCookie('jquerys2t_1573822909');
if ('' == isSimplified || 'cn' == isSimplified) {
$('body').s2t(); // 简体转繁体
setCookie('jquerys2t_1573822909', 'zh');
$(obj).text('简体');
} else {
$('body').t2s(); // 繁体转简体
setCookie('jquerys2t_1573822909', 'cn');
$(obj).text('繁體');
}
});
})(jQuery);
}