演示地址:http://www.lfafa.com
此修改并不能算是个插件只是在后台添加广告
先上图
进入后台-运营-站点广告,选择“广告列表 - 全局 页头二级导航栏广告”,在最下方广告html代码处添加以下代码:
(注:里面的文字及链接需根据自己的站点更改)- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http:///TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
- <title>无标题文档</title>
- <style type="text/css">
- <!--
- .comiis_nav {
- BACKGROUND: #f7f9fb url(comiis_bato/comiis_navbg.jpg) repeat-x;
- border: 1px solid #E2EAF1;
- border-top: 0px solid #E2EAF1;
- HEIGHT: 57px;
- width: 947px;
- overflow: hidden;
- padding-left: 10px;
- background: #F7F9FB url(http://www.aiqingxuanyan.com) repeat-x;
- }
- .nav_ico01 {
- BACKGROUND: url(http://www.lfafa.com/static/image/common/nav_ico01.jpg) no-repeat;
- background: url(http://www.lfafa.com/static/image/common/nav_ico01.jpg) no-repeat;
- }
- .nav_ico02 {
- BACKGROUND: url(http://www.lfafa.com/static/image/common/nav_ico02.jpg) no-repeat;
- background: url(http://www.lfafa.com/static/image/common/nav_ico02.jpg) no-repeat;
- }
- .nav_ico03 {
- BACKGROUND: url(http://www.lfafa.com/static/image/common/nav_ico03.jpg) no-repeat;
- background: url(http://www.lfafa.com/static/image/common/nav_ico03.jpg) no-repeat;
- }
- .nav_ico04 {
- BACKGROUND: url(http://www.lfafa.com/static/image/common/nav_ico04.jpg) no-repeat;
- background: url(http://www.lfafa.com/static/image/common/nav_ico04.jpg) no-repeat;
- }
- * {
- word-wrap: break-word;
- }
- div {
- display: block;
- }
- body, input, button, select, textarea {
- font: 12px/1.5 Tahoma,'Microsoft Yahei','Simsun';
- color: #444;
- }
- .comiis_nav dt {
- WIDTH: 207px;
- HEIGHT: 50px;
- FLOAT: left;
- overflow: hidden;
- padding-left: 48px;
- padding-top: 6px;
- }
- dt {
- display: block;
- }
- element.style {
- width: 130px;
- }
- .comiis_nav dt li {
- LINE-HEIGHT: 22px;
- WIDTH: 65px;
- FLOAT: left;
- HEIGHT: 22px;
- overflow: hidden;
- }
- ul, li {
- list-style: none;
- }
- body, ul, ol, li, dl, dd, p, h1, h2, h3, h4, h5, h6, form, fieldset, .pr, .pc {
- margin: 0;
- padding: 0;
- }
- li {
- display: list-item;
- text-align: -webkit-match-parent;
- }
- -->
- </style>
- </head>
- <body>
- <div class="comiis_nav">
- <dt class="nav_ico01">
- <li><A title=有啥说啥 target="_blank" ><SPAN><font color="red">有啥说啥</font></SPAN></A></li>
- <li><A title=视频搞笑 target="_blank" ><SPAN><font color="blue">视频搞笑</font></SPAN></A></li>
- <li><A title=今日签到 target="_blank" ><SPAN><font color="green">今日签到</font></SPAN></A></li>
- <li><A title=网站地图 target="_blank" ><SPAN><font color="purple">网站地图</font></SPAN></A></li>
- <li><A title=谈车论驾 target="_blank" ><SPAN>谈车论驾 </SPAN></A></li>
- <li><A title=上海美食 target="_blank" ><SPAN><font color="red">上海美食</font></SPAN></A></li>
- </dt>
- <dt class="nav_ico02">
- <li><A title=旅行摄影 target="_blank" ><SPAN>旅行摄影</SPAN></A></li>
- <li><A title=娱乐八卦 target="_blank" ><SPAN><font color="red">娱乐八卦</font></SPAN></A></li>
- <li><A title=妈咪宝贝 target="_blank" ><SPAN>妈咪宝贝</SPAN></A></li>
- <li><A title=地铁论坛 ><SPAN><font color="red">地铁论坛</font></SPAN></A></li>
- <li><A title=房产信息 target="_blank" ><SPAN>房产信息</SPAN></A></li>
- <li><A title=求职招聘 target="_blank" ><SPAN>求职招聘</SPAN></A></li>
- </dt>
- <dt class="nav_ico03">
- <li><A title=跳蚤市场 target="_blank" ><SPAN>跳蚤市场</SPAN></A></li>
- <li><A title=分类信息 target="_blank" ><SPAN>分类信息</SPAN></A></li>
- <li><A title=宠物家族 target="_blank" ><SPAN>宠物家族</SPAN></A></li>
- <li><A title=上班蚁族 target="_blank" ><SPAN>上班蚁族 </SPAN></A></li>
- <li><A title=激情体育 target="_blank" ><SPAN>激情体育</SPAN></A></li>
- <li><A title=家居装饰 target="_blank" ><SPAN>家居装饰</SPAN></A></li>
- </dt>
- <dt class="nav_ico04" style="width:130px;">
- <li><A title=投资理财 target="_blank" ><SPAN>投资理财</SPAN></A></li>
- <li><A title=广告天地 target="_blank" ><SPAN>广告天地</SPAN></A></li>
- <li><a target="_blank">免责声明</a></li>
- <li><a target="_blank"><font color="red">加入我们</font></a></li>
- </dt>
- </div>
- </body>
- </html>
复制代码 |