discuz

推荐列表 站点导航

当前位置:首页 > 建站教程 > discuz >

DISCUZ教程之如何让网站的x默认宽屏显示

来源:网络整理  作者:网友投稿  发布时间:2020-12-29 15:31
现在很多液晶显示器都是宽屏显示了.如果再把网站做的很窄.会不好看的.如何让默认的显示成宽屏的呢?下面我们来介...

其实就是去掉了判断 linkrel= stylesheet id= css_widthauto type= text/css href= data/cache/style_{STYLEID}_widthauto.css?{VERHASH} / scripttype= text/javascript HTMLNODE.className+= widthauto /script 接下来找到 ahref= javascript:; onclick= widthauto(this) !--{ if empty($_G[ cookie ][ widthauto ])}--{langswitch_wide}!--{ else }--{langswitch_narrow}!--{/ if }--/a 替换为下面的代码 ahref= javascript:; onClick= widthauto(this) !--{ if empty($_G[ cookie ][ widthauto ])}--{langswitch_narrow}!--{ else }--{langswitch_wide}!--{/ if }--/a ,在template/default/common/header.htm 找到 !--{ if !empty($_G[ cookie ][ widthauto ])empty($_G[ disabledwidthauto ])}-- linkrel= stylesheet id= css_widthauto type= text/css href= data/cache/style_{STYLEID}_widthauto.css?{VERHASH} / scripttype= text/javascript HTMLNODE.className+= widthauto /script !--{/ if }-- 改为下面的代码, 对模板文件进行过修改的朋友可以这样修改,。

相关热词:

本站内容来源于网络,如有侵权请与我们联系,我们会及时删除,我们深感抱歉!
注:本站所有信息仅供用于网络技术学习参考,学习中请遵循相关法律法规!

本文地址: https://www.juheyunku.com/jz/discuz/10723.shtml

Copyright © www.juheyunku.com      关于 | 合作 | 声明 | 联系 | 更新 | 地图 | Tags

DISCUZ教程之如何让网站的x默认宽屏显示

2020-12-29 编辑:网友投稿

其实就是去掉了判断 linkrel= stylesheet id= css_widthauto type= text/css href= data/cache/style_{STYLEID}_widthauto.css?{VERHASH} / scripttype= text/javascript HTMLNODE.className+= widthauto /script 接下来找到 ahref= javascript:; onclick= widthauto(this) !--{ if empty($_G[ cookie ][ widthauto ])}--{langswitch_wide}!--{ else }--{langswitch_narrow}!--{/ if }--/a 替换为下面的代码 ahref= javascript:; onClick= widthauto(this) !--{ if empty($_G[ cookie ][ widthauto ])}--{langswitch_narrow}!--{ else }--{langswitch_wide}!--{/ if }--/a ,在template/default/common/header.htm 找到 !--{ if !empty($_G[ cookie ][ widthauto ])empty($_G[ disabledwidthauto ])}-- linkrel= stylesheet id= css_widthauto type= text/css href= data/cache/style_{STYLEID}_widthauto.css?{VERHASH} / scripttype= text/javascript HTMLNODE.className+= widthauto /script !--{/ if }-- 改为下面的代码, 对模板文件进行过修改的朋友可以这样修改,。

本站内容来源于网络,如有侵权请与我们联系,我们会及时删除,我们深感抱歉!
注:本站所有信息仅供学习参考!
本文地址为 https://www.juheyunku.com/jz/discuz/10723.shtml

相关文章

风云图片

推荐阅读

返回discuz频道首页