javascript仿淘寶網首頁商品分類列表效果

來源:互聯網
上載者:User
提示:您可以先修改部分代碼再運行

<!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><title></title><meta http-equiv="content-type" content="text/html;charset=gb2312"><!--把下面代碼加到<head>與</head>之間--><style type="text/css"><!--body{font-size:12px;}#shone1,#shtwo1{text-align:center;padding:9px;}.huixuxian{border-bottom-width:1px;border-bottom-style:dashed;border-bottom-color:#cccccc;}.huixuxian ul{margin:0px;padding:0px;list-style-type:none;}.huixuxian li{padding-top:2px;padding-bottom:2px;margin-top:2px;margin-bottom:2px;background-color:#f3f3f3;}.huixuxian li.hover{border-bottom-width:2px;border-bottom-style:solid;border-bottom-color:#ff0000;padding-top:2px;padding-bottom:2px;margin-top:2px;margin-bottom:2px;border-top-width:2px;border-left-width:2px;border-top-style:solid;border-left-style:solid;border-top-color:#ff0000;border-left-color:#ff0000;background-color:#ffffff;}#apdiv1,#apdiv4{position:absolute;z-index:3;visibility:hidden;}#apdiv3,#apdiv6{position:absolute;z-index:2;border:2px solid #ff0000;visibility:hidden;background-color:#ffffff;margin-top:2px;margin-left:0px;}--></style><script type="text/javascript"><!--function setover(name,cursel,n){for(i=1;i<=n;i++){var menu=document.getelementbyid(name+i);menu.classname=i==cursel?"hover":"";}}function setout(name,cursel,n){for(i=1;i<=n;i++){var menu=document.getelementbyid(name+i);menu.classname=i==cursel?"":"hover";}}function mm_showhidelayers() { //v9.0var i,p,v,obj,args=mm_showhidelayers.arguments;for (i=0; i<(args.length-2); i+=3)with (document) if (getelementbyid && ((obj=getelementbyid(args[i]))!=null)) { v=args[i+2];if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }obj.visibility=v; }}//--></script></head><body><!--把下面代碼加到<body>與</body>之間--><table width="700" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="64" class="huixuxian"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="7%"> <div id="apdiv1"> <ul> <li id="shone1" onmouseover="setover('shone',1,1);mm_showhidelayers('apdiv1','','show','apdiv2','','hide','apdiv3','','show','apdiv4','','hide','apdiv5','','show','apdiv6','','hide')" onmouseout="setout('shone',1,1);mm_showhidelayers('apdiv1','','hide','apdiv2','','show','apdiv3','','hide','apdiv4','','hide','apdiv5','','show','apdiv6','','hide')"><br>數<br>碼<br><br></li> </ul> </div> <ul> <li id="shone1" onmouseover="setover('shone',1,1);mm_showhidelayers('apdiv1','','show','apdiv2','','hide','apdiv3','','show','apdiv4','','hide','apdiv5','','show','apdiv6','','hide')" onmouseout="setout('shone',1,1);mm_showhidelayers('apdiv1','','hide','apdiv2','','show','apdiv3','','hide','apdiv4','','hide','apdiv5','','show','apdiv6','','hide')"><br>數<br>碼<br><br></li> </ul> </td> <td width="93%" valign="top"> <div id="apdiv3" onmouseover="setover('shone',1,1);mm_showhidelayers('apdiv1','','show','apdiv2','','hide','apdiv3','','show','apdiv4','','hide','apdiv5','','show','apdiv6','','hide')" onmouseout="setout('shone',1,1);mm_showhidelayers('apdiv1','','hide','apdiv2','','show','apdiv3','','hide','apdiv4','','hide','apdiv5','','show','apdiv6','','hide')"> <table width="674" border="0" cellspacing="0" cellpadding="3"> <tr> <td width="651">sss新浪基金為全球使用者24小時提供全面及時的基金中文資訊,內容涵蓋基金行業動態、基金 淨值、基金排名、基金資料、基金評級、基金知識、基金論壇、基金超市和基金聯盟等</td> </tr> <tr> <td>擁有豐富的新聞資訊及評論,詳實的資料資料,專業的評級系統,活躍的基金經理沙龍, 火爆的論壇和部落格,為您提供最優質的服務平台,是您貼心的理財參謀</td> </tr> <tr> <td width="651">新浪基金為全球使用者24小時提供全面及時的基金中文資訊,內容涵蓋基金行業動態、基金 淨值、基金排名、基金資料、基金評級、基金知識、基金論壇、基金超市和基金聯盟等</td> </tr> <tr> <td>擁有豐富的新聞資訊及評論,詳實的資料資料,專業的評級系統,活躍的基金經理沙龍, 火爆的論壇和部落格,為您提供最優質的服務平台,是您貼心的理財參謀</td> </tr> </table> </div> <div id="apdiv2"> <table width="674" border="0" cellspacing="0" cellpadding="3" onmouseover="setover('shone',1,1);mm_showhidelayers('apdiv1','','show','apdiv2','','hide','apdiv3','','show','apdiv4','','hide','apdiv5','','show','apdiv6','','hide')" onmouseout="setout('shone',1,1);mm_showhidelayers('apdiv1','','hide','apdiv2','','show','apdiv3','','hide','apdiv4','','hide','apdiv5','','show','apdiv6','','hide')"> <tr> <td width="651">新浪基金為全球使用者24小時提供全面及時的基金中文資訊,內容涵蓋基金行業動態、基金 淨值、基金排名、基金資料、基金評級、基金知識、基金論壇、基金超市和基金聯盟等</td> </tr> <tr> <td>擁有豐富的新聞資訊及評論,詳實的資料資料,專業的評級系統,活躍的基金經理沙龍, 火爆的論壇和部落格,為您提供最優質的服務平台,是您貼心的理財參謀</td> </tr> </table> </div> </td> </tr> </table> </td> </tr> <tr> <td class="huixuxian"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="7%"> <div id="apdiv4"> <ul> <li id="shtwo1" onmouseover="setover('shtwo',1,1);mm_showhidelayers('apdiv1','','hide','apdiv2','','show','apdiv3','','hide','apdiv4','','show','apdiv5','','hide','apdiv6','','show')" onmouseout="setout('shtwo',1,1);mm_showhidelayers('apdiv1','','hide','apdiv2','','show','apdiv3','','hide','apdiv4','','hide','apdiv5','','show','apdiv6','','hide')"><br>服<br>裝<br><br></li> </ul> </div> <ul> <li id="shtwo1" onmouseover="setover('shtwo',1,1);mm_showhidelayers('apdiv1','','hide','apdiv2','','show','apdiv3','','hide','apdiv4','','show','apdiv5','','hide','apdiv6','','show')" onmouseout="setout('shtwo',1,1);mm_showhidelayers('apdiv1','','hide','apdiv2','','show','apdiv3','','hide','apdiv4','','hide','apdiv5','','show','apdiv6','','hide')"><br>服<br>裝<br><br></li> </ul> </td> <td width="93%" valign="top"> <div id="apdiv6" onmouseover="setover('shtwo',1,1);mm_showhidelayers('apdiv1','','hide','apdiv2','','show','apdiv3','','hide','apdiv4','','show','apdiv5','','hide','apdiv6','','show')" onmouseout="setout('shtwo',1,1);mm_showhidelayers('apdiv1','','hide','apdiv2','','show','apdiv3','','hide','apdiv4','','hide','apdiv5','','show','apdiv6','','hide')"> <table width="674" border="0" cellspacing="0" cellpadding="3"> <tr> <td width="651">太平洋女性網服飾頻道提供海量時尚服飾資訊、服裝新品上市一手資料,教你各類服裝搭配的方案,打造屬於你自己的魔鬼身材、完美身材</td> </tr> <tr> <td>服裝品牌,服裝品牌熱門排行榜,服裝品牌大全,服裝品牌熱門排行榜-買服裝先上品牌世家網……戴菲菲為代言安踏女子時尚系列服裝拍攝寫真精美圖</td> </tr> <tr> <td width="651">太平洋女性網服飾頻道提供海量時尚服飾資訊、服裝新品上市一手資料,教你各類服裝搭配的方案,打造屬於你自己的魔鬼身材、完美身材</td> </tr> <tr> <td>服裝品牌,服裝品牌熱門排行榜,服裝品牌大全,服裝品牌熱門排行榜-買服裝先上品牌世家網……戴菲菲為代言安踏女子時尚系列服裝拍攝寫真精美圖</td> </tr> <tr> <td width="651">太平洋女性網服飾頻道提供海量時尚服飾資訊、服裝新品上市一手資料,教你各類服裝搭配的方案,打造屬於你自己的魔鬼身材、完美身材</td> </tr> </table> </div> <div id="apdiv5"> <table width="674" border="0" cellspacing="0" cellpadding="3" onmouseover="setover('shtwo',1,1);mm_showhidelayers('apdiv1','','hide','apdiv2','','show','apdiv3','','hide','apdiv4','','show','apdiv5','','hide','apdiv6','','show')" onmouseout="setout('shtwo',1,1);mm_showhidelayers('apdiv1','','hide','apdiv2','','show','apdiv3','','hide','apdiv4','','hide','apdiv5','','show','apdiv6','','hide')"> <tr> <td width="651">太平洋女性網服飾頻道提供海量時尚服飾資訊、服裝新品上市一手資料,教你各類服裝搭配的方案,打造屬於你自己的魔鬼身材、完美身材</td> </tr> <tr> <td>服裝品牌,服裝品牌熱門排行榜,服裝品牌大全,服裝品牌熱門排行榜-買服裝先上品牌世家網……戴菲菲為代言安踏女子時尚系列服裝拍攝寫真精美圖</td> </tr> </table> </div> </td> </tr> </table> </td> </tr></table></body></html>
提示:您可以先修改部分代碼再運行

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.