在线观看不卡亚洲电影_亚洲妓女99综合网_91青青青亚洲娱乐在线观看_日韩无码高清综合久久

鍍金池/ 問(wèn)答/PHP  網(wǎng)絡(luò)安全/ Typecho開(kāi)啟pjax后,游覽器頁(yè)面標(biāo)題顯示不正常!

Typecho開(kāi)啟pjax后,游覽器頁(yè)面標(biāo)題顯示不正常!

圖片描述

游覽器標(biāo)題不刷新!

圖片描述

查看網(wǎng)頁(yè)代碼顯示正常!

結(jié)構(gòu)差不多這樣的!
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>我是標(biāo)題</title>
</head>
<body>
    <div id="1">頭部不刷新 </div>
    <div id="2">中間刷新 </div>
    <div id="2">底部不刷新 </div>
</body>
</html>
回答
編輯回答
冷溫柔

多次調(diào)試找不到原因,直接調(diào)用黑科技!

<script type="text/javascript">
$(document).attr("title","");
$("title").html("<?php $this->archiveTitle(array( 'category' => _t('分類 %s 下的文章'), 'search' => _t('包含關(guān)鍵字 %s 的文章'), 'tag' => _t('標(biāo)簽 %s 下的文章'), 'author' => _t('%s 發(fā)布的文章') ), '', ' - '); ?> <?php $this->options->title(); ?>");
</script>

獲取網(wǎng)頁(yè)標(biāo)題將其修改!!

2017年3月9日 15:41