浏览器屏幕顶部提示未登录会员注册代码解决方法
2014-04-14 11:09
267 查看
如果代码不能全屏浮动,请更换浏览器吧!
具体方法如下:
1. 打开CSS文件 /templates/{current template}/style/engine.css 其中红色部分为当前文件目录名。
在文件代码最后加入
/* 顶部登录用户提示注册的工具条开始*/
.popup {
width: 100%;
height: 25px;
background: #FFFFD5 url(../images/alert.png) no-repeat 8px;
z-index: 1;
position: fixed;
margin: 10px;
border: 1px dotted #bebebe;
color: #757575;
}
.popup a:link { color: #ff0000; text-decoration: none; }
.popup a:hover { color: #04b404; text-decoration: none; }
.popup img { border:none; }
/* 顶部登录用户提示注册的塑料隔膜泵工具条结束*/
这里我将宽度更改为100%是为了能满屏可能代码不规范,但是比原版好用!原版是400px
2. 保存提醒图标 图片为alert.png
3. 打开 /templates/{current template}/main.tpl 其中红色部分为当前塑料隔膜泵文件目录名。
找到{AJAX}
在下面添加下面代码
[group=5]
<div class="popup">
<ul style="padding: 0 0 0 30px;">
游客您好! 请登录享受会员功能,如果未注册请点击 <a href="/index.php?do=register"><b>免费注册</b></a> 成为本站会员...
</ul>
</div>
[/group]
其中group=5,为用户组“游客”
原版为TABLE代码,现改为DIV。
然后保存上传!
Web site and private or company brand pages are more popular these days. But all people aren’t web developer or programmer. So what can people do?
Of course, you have a chance to have best demo site. We suggest you this best one. It doesn’t need your knowledge on CSS or PHP . It gives you abilities to manage your site very simple. For example, if you want to change your site color, size and layout you could just work on admin panel and additional options. It is easy to draw your site corporate style.
[demo href="http://www.dandong.gov.cn/themes/?theme=squaregrid&ref=themeton"]在线演示[/demo][url href="http://z.qjwm.com/download.aspx?down=ok&filepath=suifengtec%2fWP%c4%a3%b0%e5%2fsquaregrid.zip"]点击下载[/url]
具体方法如下:
1. 打开CSS文件 /templates/{current template}/style/engine.css 其中红色部分为当前文件目录名。
在文件代码最后加入
/* 顶部登录用户提示注册的工具条开始*/
.popup {
width: 100%;
height: 25px;
background: #FFFFD5 url(../images/alert.png) no-repeat 8px;
z-index: 1;
position: fixed;
margin: 10px;
border: 1px dotted #bebebe;
color: #757575;
}
.popup a:link { color: #ff0000; text-decoration: none; }
.popup a:hover { color: #04b404; text-decoration: none; }
.popup img { border:none; }
/* 顶部登录用户提示注册的塑料隔膜泵工具条结束*/
这里我将宽度更改为100%是为了能满屏可能代码不规范,但是比原版好用!原版是400px
2. 保存提醒图标 图片为alert.png
3. 打开 /templates/{current template}/main.tpl 其中红色部分为当前塑料隔膜泵文件目录名。
找到{AJAX}
在下面添加下面代码
[group=5]
<div class="popup">
<ul style="padding: 0 0 0 30px;">
游客您好! 请登录享受会员功能,如果未注册请点击 <a href="/index.php?do=register"><b>免费注册</b></a> 成为本站会员...
</ul>
</div>
[/group]
其中group=5,为用户组“游客”
原版为TABLE代码,现改为DIV。
然后保存上传!
Web site and private or company brand pages are more popular these days. But all people aren’t web developer or programmer. So what can people do?
Of course, you have a chance to have best demo site. We suggest you this best one. It doesn’t need your knowledge on CSS or PHP . It gives you abilities to manage your site very simple. For example, if you want to change your site color, size and layout you could just work on admin panel and additional options. It is easy to draw your site corporate style.
[demo href="http://www.dandong.gov.cn/themes/?theme=squaregrid&ref=themeton"]在线演示[/demo][url href="http://z.qjwm.com/download.aspx?down=ok&filepath=suifengtec%2fWP%c4%a3%b0%e5%2fsquaregrid.zip"]点击下载[/url]
相关文章推荐
- Win10注册ocx提示错误代码0x80040200的解决方法
- win7系统无法登录QQ且提示错误代码0x00008819的解决方法
- destoon会员注册提示“数据校验失败(2)”解决方法
- Win7系统登录游戏界面提示错误代码script error的原因及解决方法图文教程
- destoon会员注册提示“数据校验失败(2)”解决方法
- 网站后台登录aspcms 提示错误号:-2147467259,错误描述:操作必须使用一个可更新的查询。sql=update AspCms_Content set TimeStatus=0 where TimeStatus=1 and Timeing <= 解决方法。
- win7(32 bit) + IE8 环境,IE8无法弹窗(错误提示:“此网页上的错误可能会使它无法正确运行”),有关的系统注册信息损坏——解决方法
- Fedora16 无法从root账户登录解决方法 提示:鉴定故障
- [转]Oracle11g链接提示未“在本地计算机注册“OraOLEDB.Oracle”解决方法
- webStorm:正确的代码也提示绿色下划线的解决方法
- ECS Win2008 远程时提示"要登录到此远程计算机,您必须被授予允许通过终端登录登录的权限"的解决方法
- phpbb顶部index.php提示86行错误解决方法
- DEDE会员注册邮件验证时,用户无法收到邮件的解决方法
- jsp防止重复登录问题以及关闭浏览器,意外断电等情况使用户退出的解决方法
- LoadRunner录制脚本时提示默认浏览器不支持解决方法 [ 光影人像 东海陈光剑 的博客 ]
- VS2012 不兼容vs2010 C++代码,提示说fopen unsafe的解决方法
- mysql连接linux系统提示“登录出现1130 is not allowed to connect to this MySql server”问题的解决方法
- IIS ADMIN不能启动,提示错误代码-2146893818的解决方法
- mysql提示错误代码1045什么问题原因怎么办?解决方法