对模板文件进行过修改的朋友可以这样修改,在template/default/common/header.htm
找到
<!--{if !empty($_G['cookie']['widthauto']) && empty($_G['disabledwidthauto'])}--> <link rel="stylesheet" id="css_widthauto" type="text/css" href="data/cache/style_{STYLEID}_widthauto.css?{VERHASH}" mce_href="data/cache/style_{STYLEID}_widthauto.css?{VERHASH}" /> <mce:script type="text/javascript"><!-- HTMLNODE.className += ' widthauto' // --></mce:script> <!--{/if}-->
改为下面的代码
<link rel="stylesheet" id="css_widthauto" type="text/css" href="data/cache/style_{STYLEID}_widthauto.css?{VERHASH}" mce_href="data/cache/style_{STYLEID}_widthauto.css?{VERHASH}" /> <mce:script type="text/javascript"><!-- HTMLNODE.className += 'widthauto' // --></mce:script>
找到
<ul class="wslct"> <li><a href="javascript:;" mce_href="javascript:;" onclick="widthauto(this)"><!--{if empty($_G['cookie']['widthauto'])}-->{lang switch_wide}<!--{else}-->{lang switch_narrow}<!--{/if}--></a></li> </ul>
替换为下面的代码
<ul class="wslct"> <li><a href="javascript:;" mce_href="javascript:;" onClick="widthauto(this)"><!--{if empty($_G['cookie']['widthauto'])}-->{lang switch_narrow}<!--{else}-->{lang switch_wide}<!--{/if}--></a></li> </ul>
更新缓存ok