Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[求助] 加上这段代码影响收录吗?

[复制链接]
仅此一句 发表于 2011-9-22 15:08:46 | 显示全部楼层 |阅读模式
问题描述
适用版本: Discuz! X2
浏览器: IE8 IE9 TT 360 IE10 firefox 其他(帖子中请注明浏览器) 
使用模板: 官方模板
BUG地址: http://www.yugaotai.com/



自从我加了这段代码后, 百度快照一直就停在10号了,,  我想知道,我加的这段代码影响收录吗??


但是我又需要这种代码 来做展示,   


希望有高人可以修改或者赐教新的方法~~

下面贴出我直接用的代码~



  1. <META http-equiv=Content-Type content="text/html; charset=gbk">
  2. <style type="text/css">
  3. ul {
  4. padding-right: 0px;
  5. padding-left: 0px;
  6. padding-bottom: 0px;
  7. margin: 0px;
  8. padding-top: 0px
  9. }
  10. #announcement {
  11. width:100%;
  12. background:url(img/menu_bg.gif) repeat;
  13. overflow: hidden;
  14. }
  15. #announcement div {
  16. border: #e6e6e6 1px solid;
  17. padding:0px 10px 0px 10px;
  18. overflow-y:hidden;
  19. line-height: 24px;
  20. height: 24px
  21. }
  22. #announcement li {
  23. font-size: 12px;
  24. float: left;
  25. list-style-type: none;
  26. margin-right: 20px;
  27. padding-left: 10px;
  28. background: url(img/arrow_right.gif) no-repeat 0px 50%;
  29. white-space: nowrap
  30. }
  31. #announcement a {
  32. text-decoration: none;
  33. }
  34. #announcement a:hover {
  35. text-decoration:underline;
  36. }
  37. </style>
  38. </HEAD>
  39. <BODY>
  40. <DIV id=announcement onMouseOver="if(!anncount) {clearTimeout(annst);annst = 0}" onMouseOut="if(!annst) annst = setTimeout('announcementScroll()', anndelay);">
  41. <DIV id=announcementbody>
  42. <UL>
  43. <LI><A href="http://www.yugaotai.com/thread-400-1-1.html" target="_blank">《亚瑟3》片尾曲MV</A>(2011-09-22 14:50)</LI>
  44. <LI><A href="http://www.yugaotai.com/thread-18-1-1.html" target="_blank">《大追捕》花絮</A>(2011-09-22 14:47)</LI>
  45. <LI><A href="http://www.yugaotai.com/thread-595-1-1.html" target="_blank">《只有你》首发预告片</A>(2011-09-22 14:42)</LI>
  46. <LI><A href="http://www.yugaotai.com/thread-594-1-1.html" target="_blank">《蔚蓝深海》预告片</A>(2011-09-22 11:30)</LI>
  47. <LI><A href="http://www.yugaotai.com/thread-593-1-1.html" target="_blank">《床下有人》先行版预告片</A>(2011-09-22 11:16)</LI>
  48. <LI><A href="http://www.yugaotai.com/thread-592-1-1.html" target="_blank">《与时尚同居》先行版预告片</A>(2011-09-22 11:02)</LI>
  49. <LI><A href="http://www.yugaotai.com/thread-591-1-1.html" target="_blank">《人狼大战》先行版预告片</A>(2011-09-22 10:56)</LI>
  50. <LI><A href="http://www.yugaotai.com/thread-199-1-1.html" target="_blank">《辛亥革命》美国版预告片</A>(2011-09-22 10:49)</LI>
  51. <LI><A href="http://www.yugaotai.com/thread-274-1-1.html" target="_blank">《紫宅》花絮之惊魂篇</A>(2011-09-22 10:46)</LI>
  52. <LI><A href="http://www.yugaotai.com/thread-590-1-1.html" target="_blank">《按下电钮那一刻》预告片</A>(2011-09-22 10:44)</LI>
  53. <LI><A href="http://www.yugaotai.com/thread-589-1-1.html" target="_blank">《虞美人盛开的山坡》预告片</A>(2011-09-22 10:39)</LI>
  54. <LI><A href="http://www.yugaotai.com/thread-161-1-1.html" target="_blank">《绑架》中文预告片</A>(2011-09-22 10:33)</LI>
  55. <LI><A href="http://www.yugaotai.com/thread-568-1-1.html" target="_blank">《无人之子》中文预告片</A>(2011-09-22 10:30)</LI>
  56. <LI><A href="http://www.yugaotai.com/thread-588-1-1.html" target="_blank">《不怕贼惦记》首发预告片</A>(2011-09-22 10:27)</LI>
  57. <LI><A href="http://www.yugaotai.com/thread-567-1-1.html" target="_blank">《朋友:怪物岛的哭泣》中文预告</A>(2011-09-22 10:23)</LI>
  58. <LI><A href="http://www.yugaotai.com/thread-273-1-1.html" target="_blank">《赛德克·巴莱》主题曲MV</A>(2011-09-22 10:18)</LI>
  59. <LI><A href="http://www.yugaotai.com/thread-481-1-1.html" target="_blank">《夺命金》香港版预告片B</A>(2011-09-22 10:14)</LI>
  60. <LI><A href="http://www.yugaotai.com/thread-587-1-1.html" target="_blank">《逃学英雄传》香港版预告片</A>(2011-09-22 10:13)</LI>
  61. <LI><A href="http://www.yugaotai.com/thread-21-1-1.html" target="_blank">《至暗之时》香港版预告片</A>(2011-09-22 10:06)</LI>
  62. <LI><A href="http://www.yugaotai.com/thread-581-1-1.html" target="_blank">《怪形前传》香港版预告片</A>(2011-09-22 10:03)</LI>
  63. <LI><A href="http://www.yugaotai.com/thread-328-1-1.html" target="_blank">《商海通牒》香港版预告片</A>(2011-09-22 10:00)</LI>

  64. </DIV>
  65. </DIV>
  66. <script type="text/javascript">
  67. function $(id)
  68. {
  69. return document.getElementById(id);
  70. }
  71. var anndelay = 3000;
  72. var anncount = 0;
  73. var annheight = 24;
  74. var annst = 0;
  75. function announcementScroll()
  76. {
  77. if( ! annst)
  78. {
  79. $('announcementbody').innerHTML += '<br style="clear: both" />' + $('announcementbody').innerHTML;
  80. $('announcementbody').scrollTop = 0;
  81. if($('announcementbody').scrollHeight > annheight * 3)
  82. {
  83. annst = setTimeout('announcementScroll()', anndelay);
  84. }
  85. else
  86. {
  87. $('announcement').onmouseover = $('announcement').onmouseout = null;
  88. }
  89. return;
  90. }
  91. if(anncount == annheight)
  92. {
  93. if($('announcementbody').scrollHeight - annheight <= $('announcementbody').scrollTop)
  94. {
  95. $('announcementbody').scrollTop = $('announcementbody').scrollHeight / 2 - annheight;
  96. }
  97. anncount = 0;
  98. annst = setTimeout('announcementScroll()', anndelay);
  99. }
  100. else
  101. {
  102. $('announcementbody').scrollTop ++ ;
  103. anncount ++ ;
  104. annst = setTimeout('announcementScroll()', 10);
  105. }
  106. }
  107. announcementScroll();
  108. </script>
  109. </BODY>
  110. </HTML>
复制代码


本帖子中包含更多资源

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

x
 楼主| 仅此一句 发表于 2011-9-22 22:57:42 | 显示全部楼层
{:soso__16926480370581792969_2:}
回复

使用道具 举报

 楼主| 仅此一句 发表于 2011-9-23 22:04:24 | 显示全部楼层
{:soso__11548008547823877479_2:}
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-11-30 03:29 , Processed in 0.030197 second(s), 5 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表