日本語
Web ページ特殊効果コード、NetEase Academy のニュース画像切り替え特殊効果、詳細なテキスト説明、および自動切り替え
<!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; charset=gb2312" /> <title>ニュース切り替えテクノロジー</title> <style type="text/css"> <!-- body { text-align: center:0; : 0; 背景: #FFF; カラー:#000;} div,form,img,ul,li,dl,dt,dd {マージン: 0; } h1,h2,h3,h4,h5,h6 { マージン:0; パディング:0;} table,td,tr,th{font-size:12px;} a:link {color: #000;なし ;} a:visited {color: #83006f;text-decoration:none;} a:hover {color: #c00; text-decoration:underline;} a:active {color: #000;} .focusPic{margin: 0 自動; 幅:244px;} .focusPic{マージン:0 自動; 幅:180px; パディング:2px 0 0;} .focusPic{マージン:0 自動; 幅:240px; 29px ; overflow:hidden;background:url(/u/info_img/2009-06/20/4147_adpic.gif);} .focusPic .adPic .text{float:right; 9px 4px 0 0;} . focusPic .adPic .text a{color:#1f3a87;} .focusPic .adPic .text a:hover{color:#bc2931;} .focusPic h2{ float:left;padding:4px 0 3px 12px; - サイズ:14px; text-align:left;} .focusPic p{float:left; width:226px;line-height:160%; text-align:left;padding:0 0 10px 12px;} focusPic p img {margin:0px 0 2px;} .focusPic .more{ margin:0 auto; width:240px; } .focusPic .more .textNum{margin:0 8px 0 0;padding:0 0 4px; .focusPic .more .textNum .text{float:left; パディング:7px 6px 0 0; .focusPic .more .textNum{float:left; }高さ:19px;} .focusPic .more .textNum .bg1{background:url(/u/info_img/2009-06/20/9415_num1.gif);} .focusPic .more .textNum .bg2{background:url(/u / info_img/2009-06/20/7390_num2.gif);} .focusPic .more .textNum .bg3{background:url(/u/info_img/2009-06/20/5391_num3.gif);} .focusPic .more 。 textNum .bg4{background:url(/u/info_img/2009-06/20/6709_num4.gif);} .focusPic .more .textNum .num ul{ float:left; width:113px;} .focusPic .more .textNum .num li{float:left; width:28px; color:#fff; list-style-type:none;} .focusPic .textNum .num li a{color:#fff; } .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=1; change_img () { if(nn>4) nn=1 setTimeout('setFocus1('+nn+')',6000) tt=setTimeout('change_img()',6000); selectLayer1 (i); } function selectLayer1(i) { switch(i) { case 1: document.getElementById("focusPic1").style.display="block"; document.getElementById("focusPic2").style.display= " なし"; document.getElementById("focusPic3").style.display="none"; document.getElementById("focusPic4").style.display="none"; = "ブロック"; document.getElementById("focusPic2nav").style.display="none"; document.getElementById("focusPic3nav").style.display="none";表示 = "なし"; ブレーク; ケース 2: document.getElementById("focusPic1").style.display = "block"; focusPic3 ").style.display="none"; document.getElementById("focusPic4").style.display="none"; document.getElementById("focusPic1nav").style.display="none"; document.getElementById( " focusPic2nav").style.display="block"; 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("focusPic4").style.display="none"; document.getElementById("focusPic1nav").style.display="none"; document.getElementById("focusPic2nav").style.display= " なし"; document.getElementById("focusPic3nav").style.display="ブロック"; document.getElementById("focusPic4nav").style.display="none"; ) .style.display="none"; document.getElementById("focusPic2").style.display="none"; document.getElementById("focusPic3").style.display="none"; " ).style.display="block"; document.getElementById("focusPic1nav").style.display="none"; document.getElementById("focusPic2nav").style.display="none"; document.getElementById(" focusPic3nav ").style.display="none"; document.getElementById("focusPic4nav").style.display="block"; ブレーク; } } </script> <div class="focusPic"> <div id=" focusPic1 " style="display:block ;"> <div class="pic"> <a href="http://www.downcodes.com"><img src="/u/info_img/2009-06/20 / 7867_2006011810122068706.jpg" alt="NetEase Academy 2005 ソフトウェア選択結果" width="240" height="180" border="0" /></a> </div> <h2><a href="http: //www.downcodes.com">NetEase Academy の 2005 年ソフトウェア選択結果</a></h2> <p>皆さんの熱心な投票と私たちの懸命の努力を経て、NetEase Academy の 2005 年ソフトウェア選択結果がついに発表されました。クリックして表示...<img src="/newimg/i2.gif" alt="詳細" width="3" height="5" /> <a href="http://www.downcodes.com" class ="cDRed">詳細</a></p> </div> <div id="focusPic2" style="display: none ;"> <div class="pic"> <a href="http: / /www.downcodes.com"><img src="/u/info_img/2009-06/20/5724_200601171557008cee7.jpg" alt="ジャングルの動物の生存法則の破壊" width="240" height="180 " border=" 0" /></a> </div> <h2><a href="http://www.downcodes.com">ジャングルの動物たちの生存の法則を覆す</a></h2> <p>社会的な動物 この行動は、動物の世界に蔓延している「弱肉強食」と私たちが通常考えていることを覆します。 <img src="/newimg/i2.gif" alt="詳細" width="3" height="5" /> <a href="http://www.downcodes.com" class="cDRed">詳細</a></p> </div> <div id="focusPic3" style="display: none ;"> <div class="pic"> <a href="http://www.downcodes. com"><img src="/u/info_img/2009-06/20/6541_2006011711483290a60.jpg" alt="WAPI は貿易陰謀ではありません" width="240" height="180" border="0" /> </ a> </div> <h2><a href="http://www.downcodes.com">WAPI は貿易陰謀ではありません</a></h2> <p>最近、この国は「国内外の企業がアルゴリズムを発表するだろう」との決定。中国の WAPI 標準が貿易陰謀ではないことは事実によって証明されています。 <img src="/newimg/i2.gif" alt="詳細" width="3" height="5" /> <a href="http://www.downcodes.com" class="cDRed">詳細</a></p> </div> <div id="focusPic4" style="display: none ;"> <div class="pic"> <a href="http://www.downcodes. com"><img src="/u/info_img/2009-06/20/6650_200601171002503f251.jpg" alt="ニュー ホライズンズによる冥王星の探査に関する特別トピック" width="240" height="180" border="0 " / ></a> </div> <h2><a href="http://www.downcodes.com">ニューホライズンズの冥王星探査特集</a></h2> <p >NASAの意志 探査機「ニューホライズンズ」は、人類がまだ探査していない唯一の惑星である冥王星を訪問するため、北京時間の18日午前2時24分に打ち上げられた。 <img src="/newimg/i2.gif" alt="詳細" width="3" height="5" /> <a href="http://www.downcodes.com" class="cDRed">詳細</a></p> </div> <div class="more"> <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);" >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);" </a> 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>