本帖最后由 勿忘我科技 于 2012-12-13 01:45 编辑
演示地址:http://bbs.wuwangwo.cc/
演示图:
官方下载:http://bbs.wuwangwo.cc/thread-155341-1-1.html
Discuze交流群1:211670828 群2:40831819 暗号:DZ 友情链接交换群:187083990
经测试x2.5也是可以用的,看上面演示网站。
DZ插件模版修改教程地址:http://dz.wuwangwo.cc/
代码:- <STYLE type=text/css>
- <!--
- /* 顶部迷你导航 */
- #miniNav { margin-bottom: 5px; height:25px; border-bottom:1px solid #CAD9EA; background:#F8F8F8; color:#333; text-align:center; }
- #miniNav .outer { width:980px; margin:0 auto; }
- #miniNav .left { float:left; }
- #miniNav .right { float:right; }
- #miniNav .redtxt { color:#F00; }
- #miniNav span { font-family:"宋体"; color:#A1A0A0; line-height:25px; }
- #miniNav a { color:#666; margin:0 3px; font-size:12px; text-decoration:none; line-height:25px; padding:1px 3px 1px 3px; }
- #miniNav a:hover { color:#fff; background:#09C; }
- -->
- </STYLE>
- <SCRIPT language=javascript type=text/javascript>
- function addBookmark(title){var url=parent.location.href;if(window.sidebar){window.sidebar.addPanel(title,url,"")}else if(document.all){window.external.AddFavorite(url,title)}else if(window.opera&&window.print){return true}}
- function setHome(obj,vrl){try{obj.style.behavior='url(#default#homepage)'; obj.setHomePage(vrl)}catch(e){if(window.netscape) {try{netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect")}catch(e) {alert("抱歉!您的浏览器不支持直接设为首页。请在浏览器地址栏输入“about:config”并回车然后将 [signed.applets.codebase_principal_support]设置为“true”,点击“加入收藏”后忽略安全提示,即可设置成功。")}var prefs=Components.classes['@mozilla.org/preferences-service;1'].getService(Components.interfaces.nsIPrefBranch);prefs.setCharPref('browser.startup.homepage',vrl)}}}
- </SCRIPT>
- <div id=miniNav>
- <div class=outer>
- <div class=left><a style="position:relative;top:3px;;"><iframe src="http://m.weather.com.cn/m/pn3/weather.htm" allowtransparency="true" width="135" height="20" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no"></iframe></a>
- <div style="CLEAR: both"></div></div>
- <div class=right><a><font color=#000033>今天是:</font>
- <SCRIPT language=javascript>
- function Year_Month(){
- var now = new Date();
- var yy = now.getYear();
- var mm = now.getMonth()+1;
- var cl = '';
- if (now.getDay() == 0) cl = '';
- if (now.getDay() == 6) cl = '';
- return(cl + yy + '年' + mm + '月');
- }
- function Date_of_Today(){
- var now = new Date();
- var cl = '';
- if (now.getDay() == 0) cl = '';
- if (now.getDay() == 6) cl = '';
- return(cl + now.getDate() + '日');
- }
- function Day_of_Today(){
- var day = new Array();
- day[0] = "星期日";
- day[1] = "星期一";
- day[2] = "星期二";
- day[3] = "星期三";
- day[4] = "星期四";
- day[5] = "星期五";
- day[6] = "星期六";
- var now = new Date();
- var cl = '';
- if (now.getDay() == 0) cl = '';
- if (now.getDay() == 6) cl = '';
- return(cl + day[now.getDay()] + '');
- }
- function CurentTime(){
- var now = new Date();
- var hh = now.getHours();
- var mm = now.getMinutes();
- var ss = now.getTime() % 60000;
- ss = (ss - (ss % 1000)) / 1000;
- var clock = hh+':';
- if (mm < 10) clock += '0';
- clock += mm+':';
- if (ss < 10) clock += '0';
- clock += ss;
- return(clock);
- }
- function refreshCalendarClock(){
- document.all.calendarClock1.innerHTML = Year_Month();
- document.all.calendarClock2.innerHTML = Date_of_Today();
- document.all.calendarClock3.innerHTML = Day_of_Today();
- document.all.calendarClock4.innerHTML = CurentTime();
- }
- document.write('<span id="calendarClock1"> </span>');
- document.write('<span id="calendarClock2"> </span> ');
- document.write('<span id="calendarClock3"> </span> ');
- document.write('<span id="calendarClock4"> </span>');
- setInterval('refreshCalendarClock()', 1000);
- // --></SCRIPT>
- </font>
- </a>
- <A > </A>
- <A href="http://u.wuwangwo.cc/" target=_blank><font color=#FF0000>网盘</font></A> |
- <A href="http://www.cnkd56.com/index1.html" target=_blank><font color=#FF0000>查询工具</font></A> |
- <A href="http://hotel.taotuanle.com/" target=_blank><font color=#FF0000>酒店预定</font></A> |
- <A href="http://www.sobianyi.com/index.php?mod=tuan&act=list" target=_blank><font color=#FF0000>团购返利</font></A> |
- <A href="http://www.sobianyi.com" target=_blank><font color=#FF0000>购物返利</font></A> |
- <A href="http://www.taotuanle.com/" target=_blank><font color=#FF0000>购物分享</font></A> |
- <A href="http://quan.taotuanle.com/" target=_blank><font color=#FF0000>优惠券</font></A> |
- <A href="http://www.wuwangwo.cc/ico.php" target=_blank>桌面捷径</font></A>
- </TD></TR></TBODY></TABLE></TD>
- </div></div></div>
- <div class="c"></div>
- </div>
- </div>
- <div align="center"><a href="/plugin.php?id=auction" target="_blank"><img src="http://www.wuwangwo.cc/images/ad/ad1.jpg" width="234" height="60" border="0" /></a>
- <a href="http://bbs.wuwangwo.cc/forum.php?mod=viewthread&tid=84529&extra=" target="_blank"><img src="http://www.wuwangwo.cc/images/ad/ad2.gif" width="234" height="60" border="0" /></a>
- <embed height="60" width="468" flashvars="bannerWidth=468&bannerHeight=60&bannerSID=http://img.uu1001.cn/x2/2011-12-12/20-02/2011-12-12_8f83da2789d538cd250887aa402ab1ce_0.xml&bannerXML=&bannerLink=http://www.taotuanle.com&dataSource=&bid=27113036&appSource=default" wmode="transparent" allowscriptaccess="always" quality="high" name="27113036" id="27113036" style="" src="http://img.uu1001.cn/bcv3.swf?v=20111012" type="application/x-shockwave-flash"/>
- </embed>
- </a>
- </td>
- </tr>
- </div>
- <tr>
- <td width="100%" colspan="5" align="center">
- <div align="center"><a href="http://www.wuwangwo.cc/forum.php?mod=forumdisplay&fid=373" target="_blank"><img src="http://www.wuwangwo.cc/images/ad/ad5.jpg" height="60" width="234" border="0"></a>
- <a href="http://bbs.wuwangwo.cc/forum.php?mod=viewthread&tid=84527&extra=page%3D1" target="_blank"><img src="http://www.wuwangwo.cc/images/ad/ad8.jpg" height="60" width="234" border="0"></a>
- <a href="http://bbs.wuwangwo.cc/forum.php?mod=forumdisplay&fid=404" target="_blank"><img src="http://www.wuwangwo.cc/images/ad/ad7.jpg" height="60" width="468" border="0"></a> </div></td>
- </tr>
- <tr>
- <td width="100%" colspan="5" align="center">
- <div align="center"><a href="http://www.sobianyi.com/" target="_blank"><img src="http://www.wuwangwo.cc/data/attachment/album/201204/19/000118r6r8rsi8cyxrc818.jpg" height="60" width="468" border="0"></a>
- <a href="http://www.941020.com/" target="_blank"><img src="http://www.wuwangwo.cc/images/ad/ad10.png" width="468" height="60" border="0" usemap="#Map">
- <map name="Map"><area shape="rect" coords="369,3,466,58" href="http://www.941020.com/ico.php" target="_blank">
- <area shape="rect" coords="3,3,369,58" href="http://www.941020.com/" target="_blank">
- </map></a> </div></td>
- </tr>
复制代码 使用方法:
1)上面文字和链接自行修改,然后把以上代码添加到后台---全局---SEO设置---其他---其他头部信息:
2)图片文件附件解压后上传到自己的空间,路径修改设置,我是在images/文件夹下面....
3)用记事本打开ico文件修改,把网址和网名改成自己的 ico.rar
4)桌面捷径文件看附件,解压修改链接后把文件上传到论坛根目录
|