日本語
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http ://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html" /> <title>新闻切换技术; > <style type="text/css"> <!-- body { text-align: center;マージン:0;パディング:0;背景: #FFF;フォントサイズ:12px; color:#000;} div,form,img,ul,ol,li,dl,dt,dd {マージン: 0;パディング: 0;ボーダー: 0;} h1,h2,h3,h4,h5,h6 {マージン:0;パディング:0;} table,td,tr,th{font-size:12px;} a:link {color: #000; text-decoration:none;} a:visited {color: #83006f;text-decoration:none;} a:hover {color: #c00; text-decoration:underline;} a:active {color: #000;} .focusPic{margin:0 auto; width:244px;} .focusPic .pic{margin:0 auto;幅:240ピクセル;高さ:180ピクセル;パディング:2px 0 0;} .focusPic .adPic{margin:0 auto 5px;幅:240ピクセル;高さ:29ピクセル; overflow:hidden;background:url(/u/info_img/2009-06/20/adpic.gif);} .focusPic .adPic .text{float:right;パディング:9px 4px 0 0; width:140px;} .focusPic .adPic .text a{color:#1f3a87;} .focusPic .adPic .text a:hover{color:#bc2931;} .focusPic h2{ float:left;幅:232px;パディング:4px 0 3px 12px;フォントサイズ:14px; text-align:left;} .focusPic p{float:left;幅:226px;行の高さ:160%;マージン:0; text-align:left;padding:0 0 10px 12px;} .focusPic p img {margin:0px 0 2px;} .focusPic .more{ margin:0 auto;幅:240ピクセル; .focusPic .more .textNum{float:right;マージン:0 8px 0 0;パディング:0 0 4px;} .focusPic .more .textNum .text{float:left;フォントの太さ:太字;パディング:7px 6px 0 0; color:#666;} .focusPic .more .textNum .num{float:left;幅:113ピクセル;高さ:19px;} .focusPic .more .textNum .bg1{background:url(/u/info_img/2009-06/20/num1.gif);} .focusPic .more .textNum .bg2{background:url(/u /info_img/2009-06/20/num2.gif);} .focusPic .more .textNum .bg3{background:url(/u/info_img/2009-06/20/num3.gif);} .focusPic .more 。 textNum .bg4{background:url(/u/info_img/2009-06/20/num4.gif);} .focusPic .more .textNum .num ul{ float:left; width:113px;} .focusPic .more .textNum .num li{float:left;幅:28ピクセル;フォントの太さ:太字;表示:ブロック;色:#fff;リストスタイルタイプ:なし;パディング:6px 0 0;} .focusPic .more .textNum .num li a{color:#fff;パディング:0 5px; } .focusPic .more .textNum .num li a:visited{color:#fff;} .focusPic .more .textNum .num li a:hover{color:#ff0;} --> </style> </head> <body> <script language="JavaScript" type="text/javascript"> var nn; nn=1; setTimeout('change_img()',6000); function change_img() { if(nn>4) nn=1 setTimeout('setFocus1('+nn+')',6000);んん++; tt=setTimeout('change_img()',6000);関数 setFocus1(i) { selectLayer1(i); } function selectLayer1(i) { switch(i) { case 1: document.getElementById("focusPic1").style.display="block"; document.getElementById("focusPic2").style.display="none"; document.getElementById("focusPic3").style.display="none"; document.getElementById("focusPic4").style.display="none"; document.getElementById("focusPic1nav").style.display="ブロック"; document.getElementById("focusPic2nav").style.display="none"; document.getElementById("focusPic3nav").style.display="none"; document.getElementById("focusPic4nav").style.display="none";壊す;ケース 2: document.getElementById("focusPic1").style.display="none"; document.getElementById("focusPic2").style.display="ブロック"; document.getElementById("focusPic3").style.display="none"; document.getElementById("focusPic4").style.display="none"; document.getElementById("focusPic1nav").style.display="none"; document.getElementById("focusPic2nav").style.display="ブロック"; document.getElementById("focusPic3nav").style.display="none"; document.getElementById("focusPic4nav").style.display="none";壊す;ケース 3: document.getElementById("focusPic1").style.display="none"; document.getElementById("focusPic2").style.display="none"; document.getElementById("focusPic3").style.display="ブロック"; document.getElementById("focusPic4").style.display="none"; document.getElementById("focusPic1nav").style.display="none"; document.getElementById("focusPic2nav").style.display="none"; document.getElementById("focusPic3nav").style.display="ブロック"; document.getElementById("focusPic4nav").style.display="none";壊す;ケース 4: document.getElementById("focusPic1").style.display="none"; document.getElementById("focusPic2").style.display="none"; document.getElementById("focusPic3").style.display="none"; document.getElementById("focusPic4").style.display="ブロック"; document.getElementById("focusPic1nav").style.display="none"; document.getElementById("focusPic2nav").style.display="none"; document.getElementById("focusPic3nav").style.display="none"; document.getElementById("focusPic4nav").style.display="ブロック";壊す; } } </script> <div class="focusPic"> <div id="focusPic1" style="display:block ;"> <div class="pic"> <a href="http://tech.163 .com/special/000915SN/soft2005.html"><img src="/u/info_img/2009-06/20/2006011810122068706.jpg" alt="网易学院05年软件评选结果" width="240" height= "180" border="0" /></a> </div> <h2><a href="http://tech.163.com/special/000915SN/soft2005.html">网易学院05年软件評価結果</a></h2> <p>大家の熱情投票と私たちの辛さを整理し、ネット易学院2005年度の評価結果を炉から出しました。 .gif" alt="详细" width="3" height="5" /> <a href="http://tech.163.com/special/000915SN/soft2005.html" class="cDRed">详细</a></p> </div> <div id="focusPic2" style="display: none ;"> <div class="pic"> <a href="http://tech.163.com /discover/"><img src="/u/info_img/2009-06/20/200601171557008cee7.jpg" alt="颠覆丛林動物生存法则" width="240" height="180" border="0" / ></a> </div> <h2><a href="http://tech.163.com/discover/">颠保護丛林動物生存法</a></h2> <p>群居動物のこのような行為は、動物界で一般に認められている「林法」を覆すものであり、動物は私からのものではなく、肉食の弱いものでもありません。<img src="/newimg/i2.gif" alt="意見" width= "3" height="5" /> <a href="http://tech.163.com/discover/" class="cDRed">详细</a></p> </div> <div id ="focusPic3" style="display: none ;"> <div class="pic"> <a href="http://tech.163.com/special/00091MNJ/itobserve015.html"><img src=" /u/info_img/2009-06/20/2006011711483290a60.jpg" alt="WAPI并非贸易阴谋" width="240" height="180" border="0" /></a> </div> <h2 ><a href="http://tech.163.com/special/00091MNJ/itobserve015.html">WAPI并非贸易阴谋</a></h2> <p>近日国家做出决定:「将向其他」実際に中国の WAPI 標準を説明しており、簡単ではありません。 <img src="/newimg/i2.gif" alt="详细" width="3" height="5" /> < a href="http://tech.163.com/special/00091MNJ/itobserve015.html" class="cDRed">详细</a></p> </div> <div id="focusPic4" style= "display: none ;"> <div class="pic"> <a href="http://tech.163.com/special/00091OSI/horizons.html"><img src="/u/info_img/2009 -06/20/200601171002503f251.jpg" alt="新視界野号探测冥王星特别专题" width="240" height="180" border="0" /></a> </div> <h2><a href="http://tech.163.com/special/00091OSI/horizons.html">新谷野号探测冥王星特别专题</a></h2> <p>美国宇航局将北京時間间18日凌晨<img src="/newimg/i2.gif" alt="详细" width="3"height="5 " /> <a href="http://tech.163.com/special/00091OSI/horizons.html" class="cDRed">详细</a></p> </div> <div class="詳細"> <div class="textNum"> <div class="text">> もっと头图新闻</div> <div class="num bg1" id="focusPic1nav" style="display: block;"> <ul> <li>1</li> <li><a href=" javascript:setFocus1(2);" target="_self">2</a></li> <li><a href="javascript:setFocus1(3);" target="_self">3</a></li> <li><a href="javascript:setFocus1(4);" target="_self">4</a></li> </ul> </div> <div class="num bg2" id="focusPic2nav" style="display: none;"> <ul> <li ><a href="javascript:setFocus1(1);" target="_self">1</a></li> <li>2</li> <li><a href="javascript:setFocus1(3);" target="_self">3</a></li> <li><a href="javascript:setFocus1(4);" target="_self">4</a></li> </ul> </div> <div class="num bg3" id="focusPic3nav" style="display: none;"> <ul> <li ><a href="javascript:setFocus1(1);" target="_self">1</a></li> <li><a href="javascript:setFocus1(2);" target="_self">2</a></li> <li>3</li> <li><a href="javascript:setFocus1(4);" target="_self">4</a></li> </ul> </div> <div class="num bg4" id="focusPic4nav" style="display: none;"> <ul> <li ><a href="javascript:setFocus1(1);" target="_self">1</a></li> <li><a href="javascript:setFocus1(2);" target="_self">2</a></li> <li><a href="javascript:setFocus1(3);" target="_self">3</a></li> <li>4</li> </ul> </div> </div> </div> </div> </body> </html >