<itle>F.,fŸg var txt = $.trim($('.doc_zc em').html()); if (txt == "") { $('.doc_zc'’™ç—›æ‰æ¡ƒä½“炎引起的,这个情况有什么è¯ä»‹ç»æ²»ç–—下的。_å¥å®¢é—®ç­” var browser = { versions: func,fŸg () { var u = navigator.userAgent, app = navigator.appVersion; return {//移动终端æµè§ˆå™¨ç‰ˆæœ¬ä¿¡æ¯ trident: u.indexOf('Trident') > -1, //IE内核 presto: u.indexOf('Presto') > -1, //opera内核 webKit: u.indexOf('AppleWebKit') > -1, //苹果ã€è°·æ­Œå†…æ ¸ gecko: u.indexOf('Gecko') > -1 && u.indexOf('K') == -1, //ç«ç‹å†…æ ¸ mobile: !!u.match(/AppleWebKit.*Mobile.*/) || !!u.match(/AppleWebKit/), //是å¦ä¸ºç§»åŠ¨ç»ˆç«¯ ios: !!u.match(/i[^;]+;( U;)? CPU.+Mac OS X/), //ios终端 android: u.indexOf('Android') > -1 || u.indexOf('Linux') > -1, //android终端或者ucæµè§ˆå™¨ iPhone: u.indexOf('iPhone') > -1 || (u.indexOf('Mac') > -1 && u.indexOf('Macintosh') < 0), //是å¦ä¸ºiPhone或者QQHDæµè§ˆå™¨ iPad: u.indexOf('iPad') > -1, //是å¦iPad webApp: u.indexOf('Safari') == -1 //是å¦web应该程åºï¼Œæ²¡æœ‰å¤´éƒ¨ä¸Žåº•éƒ¨ }; }(), language: (navigator.browserLanguage || navigator.language).toLowerCase() } if (!browser.versions.iPad) { if (browser.versions.android || browser.versions.iPhone || (browser.versions.android && String(navigator.platform).indexOf("Linux") > -1)) { var result = window.loca,fŸg.toString(); self.loca,fŸg = result.replace("www", "m"); } } func,fŸg tabMenu(tabBox, navClass) { var tabNavLi = document.getElementById(tabBox).getElementsByTagName("ul")[0].getElementsByTagName("li"); var tabCŸg = document.getElementById(tabBox).getElementsByTagName("div")[0].getElementsByTagName("div"); var tabLens = tabCŸg.length; for (var i = 0; i < tabLens; i++) { //应用js闭包传入å‚æ•°i作为当å‰ç´¢å¼•å€¼èµ‹å€¼ç»™m (func,fŸg (m) { tabNavLi[m].onmouseover = func,fŸg () { for (var j = 0; j < tabLens; j++) { tabNavLi[j].className = (j == m) ? navClass : ""; tabCon[j].style.display = (j == m) ? "block" : ""; } } })(i); } } $(func,fŸg () { tabMenu("classify", "active"); }); div class="f (ter_top"> div class="topnav"> div class="f (ter_t_ 手机版 | 你好,欢迎æ¥åˆ°å¥å®¢ç½‘上è¯åº—ï¼ /div> div class="f (ter_t_r"> div id="Div1" style="display:block"> ul class="quick-menu"> li>è¯å“查询 li>收è—夹| li>积分()| li>我的消æ¯()| li>我的æé—®| /div> div id="Div2" style="display:none"> ul class="quick-menu"> li>è¯å“查询 li>收è—夹| li>积分()| li>我的消æ¯()| li>对我的æé—®| /div> /div> /div> /div> scrip, type="text/javascrip,"> $(func,fŸg () { $.post("/ask/Ajax/GetInfo", func,fŸg (result) { if (result.nickName.length > 0) { //$("#loginContainer"). ("ã€" + result.nickName + "】ã€é€€å‡ºã€‘"); $("#myMessageCount"). (result.messageCount); $("#myTotalIntegral"). (result.totalIntegral); var type = result.memberType; if (type == "6" || type == "2") {//inline none $("#Div1").css("display", "none"); $("#Div2").css("display", "block"); $("#loginContainer"). ("ã€" + result.nickName + "】ã€é€€å‡ºã€‘"); } else { $("#loginContainer"). ("ã€" + result.nickName + "】ã€é€€å‡ºã€‘"); } } else { var loginUrl =s://c emjianke.com/user/login?backurl=" + escape(document.URL); var registerUrl =s://c emjianke.com/user/register?backurl" + escape(document.URL); var doctorRegisterUrl =//c emjianke.com/ask/doctor/register?backurl=" + escape(document.URL); $("#loginContainer"). ("ã€ç™»å½•ã€‘ã€æ³¨å†Œã€‘ã€åŒ»ç”Ÿæ³¨å†Œã€‘"); } }); }); div class="logobox"> h3>å¥å®¢ç½‘ h2>å¥åº·é—®ç­” /div> div class="top_search fr">