可翻阅上一条下一条的网站滚动新闻

来源:互联网 发布:大数据专家咨询委员会 编辑:程序博客网 时间:2024/04/28 18:46
<script type="text/javascript"><!--google_ad_client = "pub-4490194096475053";/* 内容页,300x250,第一屏 */google_ad_slot = "3685991503";google_ad_width = 300;google_ad_height = 250;// --></script><script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"></script>
  1. <style type="text/css"> 
  2. <!-- 
  3. td {font-size:12px} 
  4. .rollboder {BORDER: #bcbcbc 1px solid;} 
  5. .rollleft {FLOAT: left; WIDTH: 240px} 
  6. .rollleft STRONG {COLOR: #666} 
  7. .rollcenter {BORDER-RIGHT: #bcbcbc 1px solid; BORDER-LEFT: #bcbcbc 1px solid; WIDTH: 30px; TEXT-ALIGN: center} 
  8. .rollright {FLOAT: right; WIDTH: 40px; TEXT-ALIGN: center} 
  9. .rollright IMG {VERTICAL-ALIGN: middle} 
  10. --> 
  11. </style> 
  12. <body> 
  13. <SCRIPT type=text/javascript> 
  14. <!-- 
  15. var rollText_k=6; //菜单总数 
  16. var rollText_i=1; //菜单默认值 
  17. //setFocus1(0); 
  18. rollText_tt=setInterval("rollText(1)",8000); 
  19. function rollText(a){ 
  20. clearInterval(rollText_tt); 
  21. rollText_tt=setInterval("rollText(1)",8000); 
  22. rollText_i+=a; 
  23. if (rollText_i>rollText_k){rollText_i=1;} 
  24. if (rollText_i==0){rollText_i=rollText_k;} 
  25. //alert(i) 
  26. for (var j=1; j<=rollText_k; j++){ 
  27. document.getElementById("rollTextMenu"+j).style.display="none"
  28. document.getElementById("rollTextMenu"+rollText_i).style.display="block"
  29. document.getElementById("pageShow").innerHTML = rollText_i+"/"+rollText_k; 
  30. //--> 
  31. </SCRIPT> 
  32. <TABLE height="29" border="0" cellspacing="0" class=rollboder> 
  33. <TBODY> 
  34. <TR> 
  35. <TD height="22" class=rollleft> 
  36. <DIV class=rollTextMenus> 
  37. <DIV id=rollTextMenu1 style="DISPLAY: block"><STRONG> 本站动态:</STRONG> <A 
  38. href="http://www.chinaz.com" target="_blank">矢量网页栏目标题</A></DIV> 
  39. <DIV id=rollTextMenu2 style="DISPLAY: none"><STRONG> 本站动态:</STRONG> <A 
  40. href="http://www.chinaz.com" target="_blank">矢量律动条+箭头</A></DIV> 
  41. <DIV id=rollTextMenu3 style="DISPLAY: none"><STRONG> 本站动态:</STRONG> <A 
  42. href="http://www.chinaz.com" target="_blank">2008年北京奥运会会徽矢量</A></DIV> 
  43. <DIV id=rollTextMenu4 style="DISPLAY: none"><STRONG> 本站动态:</STRONG> <A 
  44. href="http://www.chinaz.com" target="_blank">2008北京奥运福娃AI矢量图</A></DIV> 
  45. <DIV id=rollTextMenu5 style="DISPLAY: none"><STRONG> 本站动态:</STRONG> <A 
  46. href="http://www.chinaz.com" target="_blank">矢量AI格式的红色飘带</A></DIV> 
  47. <DIV id=rollTextMenu6 style="DISPLAY: none"><STRONG> 本站动态:</STRONG> <A 
  48. href="http://www.chinaz.com" target="_blank">45个AI格式火矢量图</A></DIV></DIV></TD> 
  49. <TD class=rollcenter id=pageShow>3/6</TD> 
  50. <TD class=rollright><A title=上一条 href="javascript:rollText(-1);"><IMG src="images/last.gif" 
  51. alt=上一条 width="11" height="11" border="0"></A> <A title=下一条 href="javascript:rollText(1);"><IMG src="images/next.gif" 
  52. alt=下一条 width="11" height="11" border="0"></A></TD> 
  53. </TR></TBODY></TABLE> 
  54. </div> 

http://www.corange.cn//uploadfiles/1018_65299.jpg