/* Js for http://www.baidu.com, Version=1751977878 */ v.lang = {"confirmDelete":"\u60a8\u78ba\u5b9a\u8981\u57f7\u884c\u522a\u9664\u64cd\u4f5c\u55ce\uff1f","deleteing":"\u522a\u9664\u4e2d","doing":"\u8655\u7406\u4e2d","loading":"\u52a0\u8f09\u4e2d","updating":"\u66f4\u65b0\u4e2d...","timeout":"\u7db2\u7d61\u8d85\u6642,\u8acb\u91cd\u8a66","errorThrown":"\u57f7\u884c\u51fa\u932f\uff1a","continueShopping":"\u7e7c\u7e8c\u8cfc\u7269","required":"\u5fc5\u586b","back":"\u8fd4\u56de","continue":"\u7e7c\u7e8c","bindWechatTip":"\u767c\u5e16\u529f\u80fd\u8a2d\u7f6e\u4e86\u7d81\u5b9a\u5fae\u4fe1\u7684\u9650\u5236\uff0c\u8acb\u5148\u7d81\u5b9a\u5fae\u4fe1\u6703\u54e1\u3002","importTip":"\u53ea\u5c0e\u5165\u4e3b\u984c\u7684\u98a8\u683c\u548c\u6a23\u5f0f","fullImportTip":"\u5c07\u6703\u5c0e\u5165\u6e2c\u8a66\u6578\u64da\u4ee5\u53ca\u66ff\u63db\u7ad9\u9ede\u6587\u7ae0\u3001\u7522\u54c1\u7b49\u6578\u64da"};;$().ready(function() { $('#execIcon').tooltip({title:$('#execInfoBar').html(), html:true, placement:'right'}); }); ;$(document).ready(function() { $('.nav-system-book').addClass('active'); $('#navbar li.active').parents('li').addClass('active'); $('#article' + v.objectID).addClass('active'); $('#article' + v.objectID).parents('dd').each(function() { $(this).attr('class', $(this).attr('class').replace('closed', 'opened')); $(this).addClass('active'); }) if(v.fullScreen) { $('html, body').css('height', '100%'); var hash = window.location.hash; if(hash.indexOf('#article') === 0) { var $selected = $(hash); if($selected.length) $selected[0].scrollIntoView(); } $('.article').each(function() { var $article = $(this); var $a = $article.children('a'); if($a.length) $a.attr('href', $a.attr('href') + '#' + $article.attr('id')); }); } $('dd > span').click(function() { if($(this).parent().attr('class').indexOf('closed') != '-1') { $(this).parent().attr('class', $(this).parent().attr('class').replace('closed', 'opened')); $(this).parent().find('dd').each(function() { $(this).attr('class', $(this).attr('class').replace('closed', 'opened')); }) } else { $(this).parent().attr('class', $(this).parent().attr('class').replace('opened', 'closed')); $(this).parent().find('dd').each(function() { $(this).attr('class', $(this).attr('class').replace('opened', 'closed')); }) } }); $('dd a').click(function() { if($('.article.book-content').length !== 0) { getContent(this); return false; } }); $('body').on("click",".icon-next a, .icon-previous a, .previous a, .next a",function() { if($('.article.book-content').length !== 0) { getContent(this); return false; } }); $('body').on("blur",'.popover input',function() { $('[data-toggle="popover"]').popover('hide'); return false; }); function getContent(obj) { if($(obj).parent().attr('class').indexOf('disabled') != '-1') return false; var url = $(obj).attr('href'); if($('.article.book-content').length !== 0) { $('.col-md-9').load(url + ' .col-md-9 > div', function(response) { if($(response).find('.col-md-9').length === 0) { $('.col-md-9').html("