设置网页title图标不生效

教程大全  / 倒序浏览   ©

#楼主# 2020-2-13

跳转到指定楼层

马上注册,分享更多源码,享用更多功能,让你轻松玩转云大陆。

您需要 登录 才可以下载或查看,没有帐号?立即注册

x

正常使用

  1. <link rel="shortcut icon" type="image/png" href="./static/image/niu_logo.png">
复制代码
设置网页图标如果不见效,试试将这行代码放到标签的下面</p></td></tr></table> </div> <div class="zz_readall_box pbw cl" > <div class="zz_read_more_mask"></div> <a href="javascript:;" class="zz_read_more_btn">阅读全文</a> </div> <div id="comment_25294" class="cm"> </div> <div id="post_rate_div_25294"></div> </div> </div> </td></tr> <tr> <td> <div class="works-show-share cl"> <div class="works-show-share-top"> <div class="wp cl" style="position: relative;"> <div class="share z"> <span>分享:</span> <div class="bdsharebuttonbox"> <a href="#" class="bds_weixin" data-cmd="weixin" title="分享到微信"></a> <a href="#" class="bds_tsina" data-cmd="tsina" title="分享到新浪微博"></a> <a href="#" class="bds_sqq" data-cmd="sqq" title="分享到QQ好友"></a> <a href="#" class="bds_qzone" data-cmd="qzone" title="分享到QQ空间"></a> </div> <script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"0","bdSize":"32"},"share":{}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='template/zhanzhuai_zhihu/zhanzhuaicn_img/zz_bdshare/js/share.js?cdnversion='+~(-new Date()/36e5)];</script> </div> <div class="zhanzhuai_dzan"> <a id="recommend_add" href="forum.php?mod=misc&action=recommend&do=add&tid=18346&hash=d2816a12" onclick="showWindow('login', this.href)" onmouseover="this.title = $('recommendv_add').innerHTML + ' 人支持'" title="0 人点赞" style="display: block;position: relative;padding-top: 5px;"> <span class="bg-zan"></span> <i id="recommendv_add">0</i></a> </div> <div class="coll-rep y"> <a class="icon-article-jb" href="javascript:;" onclick="showWindow('miscreport25294', 'misc.php?mod=report&rtype=post&rid=25294&tid=18346&fid=41', 'get', -1);return false;" style="margin-right: 0;"><i class="zhanzhuai-icons"></i>举报</a> </div> </div> </div> </div> </td> </tr> <tr> <td class="plc plm"> </td> </tr> <tr id="_postposition25294"></tr> <tr> <td class="plc zhanzhuai_zt_cz"> <div class="po hin" style="padding-bottom: 0;"> <span class="y"> <a href="forum.php?mod=collection&action=edit&op=addthread&tid=18346" id="k_collect" onclick="showWindow(this.id, this.href);return false;" onmouseover="this.title = $('collectionnumber').innerHTML + ' 人淘帖'" title="淘好帖进专辑"><i style="margin-right: 0;"><img src="static/image/common/collection.png" alt="分享" align="absmiddle"/>淘帖</i></a> </span> <div class="pob cl"> <em> <a class="fastre" href="forum.php?mod=post&action=reply&fid=41&tid=18346&reppost=25294&extra=page%3D1&page=1" onclick="showWindow('reply', this.href)">回复</a> </em> <p> <a href="javascript:;" id="mgc_post_25294" onmouseover="showMenu(this.id)" class="showmenu">使用道具</a> </p> <ul id="mgc_post_25294_menu" class="p_pop mgcmn" style="display: none;"> <li><a href="home.php?mod=magic&mid=bump&idtype=tid&id=18346" id="a_bump" onclick="showWindow(this.id, this.href)"><img src="static/image/magic/bump.small.gif" />提升卡</a></li> <li><a href="home.php?mod=magic&mid=highlight&idtype=tid&id=18346" id="a_stick" onclick="showWindow(this.id, this.href)"><img src="static/image/magic/highlight.small.gif" />变色卡</a></li> </ul> <script type="text/javascript" reload="1">checkmgcmn('post_25294')</script> </div> </div> </td> </tr> <tr class="ad"> <td class="plc"> </td> </tr> </table> </div> </div> </div> <div class="zhanzhuai_noreplythread"> <span></span> <p>您的回复是对作者最大的奖励</p> </div> <div id="postlistreply" class="pl"><div id="post_new" class="viewthread_table" style="display: none"></div></div> <form method="post" autocomplete="off" name="modactions" id="modactions"> <input type="hidden" name="formhash" value="d2816a12" /> <input type="hidden" name="optgroup" /> <input type="hidden" name="operation" /> <input type="hidden" name="listextra" value="page%3D1" /> <input type="hidden" name="page" value="1" /> </form> <script type="text/javascript"> var postminchars = parseInt('10'); var postmaxchars = parseInt('10000'); var disablepostctrl = parseInt('0'); </script> <div id="f_pst" class="zz_f_pst pl bm bmw"> <form method="post" autocomplete="off" id="fastpostform" action="forum.php?mod=post&action=reply&fid=41&tid=18346&extra=page%3D1&replysubmit=yes&infloat=yes&handlekey=fastpost" onSubmit="return fastpostvalidate(this)"> <table cellspacing="0" cellpadding="0"> <tr> <td class="plc" colspan="2"> <span id="fastpostreturn"></span> <div class="cl"> <div id="fastposteditor"> <div class="tedt mtn"> <div class="bar"> <span class="y"> <a href="forum.php?mod=post&action=reply&fid=41&tid=18346" onclick="return switchAdvanceMode(this.href)">高级模式</a> </span><script src="static/js/seditor.js?Z56" type="text/javascript"></script> <div class="fpd"> <a href="javascript:;" title="文字加粗" class="fbld">B</a> <a href="javascript:;" title="设置文字颜色" class="fclr" id="fastpostforecolor">Color</a> <a id="fastpostimg" href="javascript:;" title="图片" class="fmg">Image</a> <a id="fastposturl" href="javascript:;" title="添加链接" class="flnk">Link</a> <a id="fastpostquote" href="javascript:;" title="引用" class="fqt">Quote</a> <a id="fastpostcode" href="javascript:;" title="代码" class="fcd">Code</a> <a href="javascript:;" class="fsml" id="fastpostsml">Smilies</a> </div></div> <div class="area"> <div class="pt hm"> 您需要登录后才可以回帖 <a href="member.php?mod=logging&action=login" onclick="showWindow('login', this.href)" class="xi2">登录</a> | <a href="member.php?mod=register" class="xi2">立即注册</a> <a href="https://www.vrarz.com/plugin.php?id=htt_qqlogin:qqoauth" target="_top" rel="nofollow"><img src="static/image/common/qq_login.gif" class="vm" /></a> </div> </div> </div> </div> </div> <div id="seccheck_fastpost"> </div> <input type="hidden" name="formhash" value="d2816a12" /> <input type="hidden" name="usesig" value="" /> <input type="hidden" name="subject" value=" " /> <p class="ptm pnpost"> <a href="home.php?mod=spacecp&ac=credit&op=rule&fid=41" class="y" target="_blank">本版积分规则</a> <button type="button" onclick="showWindow('login', 'member.php?mod=logging&action=login&guestmessage=yes')" onmouseover="checkpostrule('seccheck_fastpost', 'ac=reply');this.onmouseover=null" name="replysubmit" id="fastpostsubmit" class="pn pnc vm" value="replysubmit" tabindex="5"><strong>发表回复</strong></button> <label for="fastpostrefresh"><input id="fastpostrefresh" type="checkbox" checked="checked" class="pc" />回帖后跳转到最后一页</label> <script type="text/javascript">if(getcookie('fastpostrefresh') == 1) {$('fastpostrefresh').checked=true;}</script> </p> </td> </tr> </table> </form> </div> <!--[diy=diyfastposttop]--><div id="diyfastposttop" class="area"></div><!--[/diy]--> </div> <div id="zhanzhuai_sidebar" class="zhanzhuai_view_sd"> <div class="viewthread_author box cl"> <div class="zhanzhuai_diytit cl"><h2>关于作者</h2></div> <div class="zhanzhuai_viewthread_user_c"> <div class="zhanzhuai_viewthread_user cl"> <div class="viewthread_author_avatar z"> <a href="space-uid-2331.html" title="白乐乐_c034" target="_blank"><img src="https://www.vrarz.com/uc_server/avatar.php?uid=2331&size=middle" /></a> </div> <div class="viewthread_author_info y"> <a href="space-uid-2331.html" title="白乐乐_c034" target="_blank">白乐乐_c034</a> <p>新手猿</p> </div> </div> <div class="viewthread_author_mun cl"> <ul class="cl"> <li> <p class="inst">主题</p> <p class="number">8</p> </li> <li> <p class="inst">帖子</p> <p class="number">8</p> </li> <li style="border-right: 0;"> <p class="inst">关注者</p> <p class="number">0</p> </li> </ul> </div> </div> <div class="viewthread_author_act"> <a href="home.php?mod=spacecp&ac=friend&op=add&uid=2331&handlekey=addfriendhk_2331" id="a_friend_li_2331" onclick="showWindow(this.id, this.href, 'get', 0);" title="加好友" ><i class="icon icon-inviteask" style="margin-right: 5px;font-size: 18px;vertical-align: text-bottom;"></i>加好友</a> <a href="home.php?mod=spacecp&ac=pm&op=showmsg&handlekey=showmsg_2331&touid=2331&pmid=0&daterange=2&pid=18346&tid=18346" onclick="showWindow('sendpm', this.href);" title="发消息" class="blue-btn" style="margin-right: 0;"><i class="icon icon-inbox" style="margin-right: 5px;font-size: 19px;vertical-align: text-bottom;"></i>发私信</a> </div> </div> <div class="viewthread_author_threads zz-rfixed box"> <div class="zhanzhuai_diytit cl"><h2>楼主新帖</h2></div> <ul> <li> <a href="thread-18346-1-1.html" target="_blank">设置网页title图标不生效</a> <p>2020-2-13</p> </li> <li> <a href="thread-2285-1-1.html" target="_blank">全自定义环境安装TP5过程,采用apache、nginx、iis三大站点管理</a> <p>2019-7-25</p> </li> <li> <a href="thread-2212-1-1.html" target="_blank">通过CSS和JavaScript实现多层页面多种切换效果及实例</a> <p>2019-7-25</p> </li> <li> <a href="thread-2097-1-1.html" target="_blank">中间件极简介绍(一) Memcache</a> <p>2019-7-25</p> </li> <li> <a href="thread-1020-1-1.html" target="_blank"> 源码 智慧农场小程序1.9.4下载地址 修复小程序生成商品海报图jpg图片格式不支持bug破解版</a> <p>2019-7-23</p> </li> </ul> </div> <div class="zhanzhuai_vpic"> <!--[diy=zhanzhuai_mcndm_cn]--><div id="zhanzhuai_mcndm_cn" class="area"><div id="frameEWR4mf" class="frame move-span cl frame-1"><div id="frameEWR4mf_left" class="column frame-1-c"><div id="frameEWR4mf_left_temp" class="move-span temp"></div><div id="portal_block_287" class="block move-span"><div id="portal_block_287_content" class="dxb_bc"><div class="portal_block_summary"><script type="text/javascript" src="//t.vrarz.com/common/o-jg/openjs/lbs-r/source/sr.js"></script></div></div></div></div></div></div><!--[/diy]--> </div> <style> #postlist .vwthd{position:relative;overflow:visible;padding-right:115px !important;display:block;z-index:99;} #ct .comiis_snvbt,#ct .kmn19vbt{position:relative;overflow:visible;padding-right:55px;} .kmfz{height:38px;line-height:38px;} .comiis_viewtop{overflow:visible;} .comiis_code{position:absolute;top:0px;right:0px;} .comiis_code .comiis_code_img{width:38px;height:38px;background:url(source/plugin/comiis_code/comiis_img/comiis_code.png) no-repeat;} .comiis_code .comiis_code_img1 {width:45px;height:38px;background:url(source/plugin/comiis_code/comiis_img/comiis_code1.png) no-repeat;} .ie6 .comiis_code .comiis_code_img1{background:url(source/plugin/comiis_code/comiis_img/comiis_code1.gif) no-repeat;} #comiis_code_menu{z-index:301;border:#dcdcdc 1px solid;padding:15px 10px;position:absolute;width:190px;background:#fafafa;height:252px;top:-1px;right:-1px;cursor:pointer;} .ie6 #comiis_code_menu{right:-2px;} .comiis_viewtop #comiis_code_menu{top:0px;right:0px;} #comiis_code_menu p{text-align:center;} #comiis_code_menu p img{width:168px;height:168px;} #comiis_code_menu li{text-align:center;line-height:26px;height:26px;} #comiis_code_menu .comiis_txt1djmz{font:500 16px/38px "Microsoft Yahei";COLOR:#333;} #comiis_code_menu .comiis_txt2zwpe{font:500 12px/38px "Microsoft Yahei";COLOR:#666;} #comiis_code_menu .comiis_txt2zwpe EM{margin:0px 2px;} #comiis_code_menu .comiis_txt2zwpe IMG{margin-top:-3px;vertical-align:middle;} #comiis_code_menu .comiis_txt3nmjn{font:500 12px/38px "Microsoft Yahei";} #comiis_code_menu .comiis_txt3nmjn A{color:#bebebe;} </style> <span class="comiis_code"><div class="comiis_code_img" id="comiis_code" onmouseover="showMenu({'ctrlid':this.id,'pos':'*'});" /></div></span> <div id="comiis_code_menu" style="display:none;"> <p> <img src="./source/plugin/comiis_code/comiis_cache/view_rewrite_18346.png" /> </p> <ul> <li class="comiis_txt1djmz">微信扫一扫 分享朋友圈</li> <li class="comiis_txt2zwpe">已有<em>3529</em>人穿越成功<img src="source/plugin/comiis_code/comiis_img/comiis_smile.gif"></li> <li class="comiis_txt3nmjn"><A href="plugin.php?id=comiis_code" target="_blank">教程:手机怎么扫描二维码</A></li> </ul> <img src="source/plugin/comiis_code/comiis_img/comiis_logo.gif" style="width:30px;height:30px;position:absolute;top:84px;left:90px;" /> </div> </div> </div> <div class="zhanzhuai-threadlist-box wp"> <!--[diy=diy3]--><div id="diy3" class="area"></div><!--[/diy]--> </div> </div> <script type="text/javascript"> function succeedhandle_followmod(url, msg, values) { var fObj = $('followmod_'+values['fuid']); if(values['type'] == 'add') { fObj.innerHTML = '不收听'; fObj.href = 'home.php?mod=spacecp&ac=follow&op=del&fuid='+values['fuid']; } else if(values['type'] == 'del') { fObj.innerHTML = '收听TA'; fObj.href = 'home.php?mod=spacecp&ac=follow&op=add&hash=d2816a12&fuid='+values['fuid']; } } fixed_avatar([25294], 1); </script> <script type="text/javascript"> var navH = jQuery("#zhanzhuai-matter-txtbox").offset().top; jQuery(window).scroll(function () { var scroH = jQuery(this).scrollTop(); if (scroH >= navH) { jQuery(".scrollshow").fadeIn(); } else if (scroH < navH) { jQuery(".scrollshow").fadeOut(); } }) </script> <script type="text/javascript"> function pr() { var R=document.getElementById("zhanzhuai_sidebar"); var L=document.getElementById("zhanzhuai_primary"); if (R.className=="sidebar") { R.className="sidebar-hide zhanzhuai_view_sd"; L.className="zhanzhuai_view_mn"; } else { R.className="sidebar"; L.className="primary"; } } </script> <script type="text/javascript"> var widHeight = jQuery(window).height(); var artHeight = jQuery('.zz_thread_content').height(); if(artHeight>(widHeight*1.5)){ jQuery('.zz_thread_content').height(widHeight*1.5-285).css({'overflow':'hidden'}); var thread_show = true; jQuery('.zz_read_more_btn').bind('click',bindzz_read_more); }else{ thread_show = true; jQuery('.zz_readall_box').hide(); } function bindzz_read_more(){ if(!thread_show){ jQuery('.zz_thread_content').height(widHeight*1.5).css({'overflow':'hidden'}); jQuery('.zz_readall_box').show(); thread_show = true; }else{ jQuery('.zz_thread_content').height("").css({'overflow':'hidden'}); jQuery('.zz_readall_box').show(); jQuery('.zz_readall_box').hide(); thread_show = false; } } </script></div> <script type="text/javascript" src="https://www.vrarz.com/plugin.php?id=addon_collect_zhihu:autopost" defer="defer"></script> <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> <div id="ft"> <div class="foo"> <div class="wp cl"> <div class="foo_nav z"><a href="archiver/" >Archiver</a><span class="pipe">|</span><a href="forum.php?mobile=yes" >手机版</a><span class="pipe">|</span><a href="forum.php?mod=misc&action=showdarkroom" >小黑屋</a><span class="pipe">|</span><strong><a href="https://www.vrarz.com/" target="_blank">云大陆</a></strong> <span class="pipe">|</span> 赣ICP备18008958号-4<span class="pipe">|</span><a href="sitemap.xml" target="_blank" title="网站地图">网站地图</a><script> var _hmt = _hmt || []; (function() { var hm = document.createElement("script"); hm.src = "https://hm.baidu.com/hm.js?4019ed15671954a6807d477e9084ac15"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })(); </script> </div> <div class="copy y"> Powered by <strong><a href="http://www.vrarz.com" target="_blank">vrarz.com!</a></strong>  © 2019-2020版权所有<a href="#" target="_blank">云大陆</a> </div> </div> </div> </div> <script src="home.php?mod=misc&ac=sendmail&rand=1585441548" type="text/javascript"></script> <div class="zz_side_nav_box cl"> <ul class="zz_side_nav"> <li class="zz_side_nav_1"> <a href="home.php?mod=spacecp&ac=share&type=thread&id=18346" onclick="showWindow('sharethread', this.href, 'get', 0);" title="分享推精华"> <i></i> <span>分享</span> </a> </li> <li class="zz_side_nav_2"> <a href="home.php?mod=spacecp&ac=favorite&type=thread&id=18346&formhash=d2816a12" id="k_favorite" onclick="showWindow(this.id, this.href, 'get', 0);" onmouseover="this.title = $('favoritenumber').innerHTML + ' !activity_member_unit!!thread_favorite!'" title="收藏本帖"> <i></i> <span>收藏</span> </a> </li> <li class="zz_side_nav_3"> <a href="forum.php?mod=redirect&goto=nextoldset&tid=18346" title="上一篇"> <i></i> <span>上一篇</span> </a> </li> <li class="zz_side_nav_4"> <a href="forum.php?mod=redirect&goto=nextnewset&tid=18346" title="下一篇"> <i></i> <span>下一篇</span> </a> </li> <li class="zz_side_nav_5"> <a href="fen-41.html" title="返回列表"> <i></i> <span>返回列表</span> </a> </li> <li class="zz_side_nav_6"> <a href="javascript:void(0);" class="zz_gototop" title="分享" style=" display: none;"> <i></i> <span>返回顶部</span> </a> </li> </ul> </div> <script type="text/javascript"> jQuery(window).scroll(function() { if(jQuery(window).scrollTop() >= 200){ jQuery('.zz_gototop').fadeIn(300); }else{ jQuery('.zz_gototop').fadeOut(300); } }); jQuery('.zz_gototop').click(function(){ jQuery('html,body').animate({scrollTop: '0px'}, 300); }); </script> <script type="text/javascript"> var sct = jQuery(".zz_company, .zhanzhuai-rfixed, .home-fixd").offset().top; var sctop = 0; jQuery(window).scroll(function(){ sctop = jQuery(this).scrollTop(); if(sctop >= sct){ jQuery(".zhanzhuai-rfixed, .p-rfixed").addClass("lists-top-fixed"); }else{ jQuery(".zhanzhuai-rfixed, .p-rfixed").removeClass("lists-top-fixed"); } }); </script> <script type="text/javascript"> var offs=jQuery('#fixed').offset(); jQuery(window).scroll(function(){ scrollLis(); }); </script> </body> </html>