小白项目-JavaScript实现轮播特效
Posted 奇奇锋
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了小白项目-JavaScript实现轮播特效相关的知识,希望对你有一定的参考价值。
小白项目-javascript实现轮播特效
加油吧
1 <!doctype html> 2 <html lang="en"> 3 <head> 4 <meta charset="UTF-8"> 5 <title>Document</title> 6 <link rel="stylesheet" href="css/style.css"> 7 </head> 8 <body> 9 <div class="main" id="main"> 10 <div class="menu-box"> 11 </div> 12 <!--内容--> 13 <div class="sub-menu hide" id="sub-menu"> 14 <div class="inner-box"> 15 <div class="sub-inner-box"> 16 <div class="title">手机、配件</div> 17 <div class="sub-row"> 18 <span class="bold mr10">手机通讯:</span> 19 <a href="">手机</a> 20 <span class="ml10 mr10">/</span> 21 <a href="">手机维修</a> 22 <span class="ml10 mr10">/</span> 23 <a href="">以旧换新</a> 24 </div> 25 <div class="sub-row"> 26 <span class="bold mr10">手机配件:</span> 27 <a href="">手机壳</a> 28 <span class="ml10 mr10">/</span> 29 <a href="">手机存储卡</a> 30 <span class="ml10 mr10">/</span> 31 <a href="">数据线</a> 32 <span class="ml10 mr10">/</span> 33 <a href="">充电器</a> 34 <span class="ml10 mr10">/</span> 35 <a href="">电池</a> 36 </div> 37 <div class="sub-row"> 38 <span class="bold mr10">运营商:</span> 39 <a href="">中国联通</a> 40 <span class="ml10 mr10">/</span> 41 <a href="">中国移动</a> 42 <span class="ml10 mr10">/</span> 43 <a href="">中国电信</a> 44 </div> 45 <div class="sub-row"> 46 <span class="bold mr10">智能设备:</span> 47 <a href="">智能手环</a> 48 <span class="ml10 mr10">/</span> 49 <a href="">智能家居</a> 50 <span class="ml10 mr10">/</span> 51 <a href="">智能手表</a> 52 <span class="ml10 mr10">/</span> 53 <a href="">其他配件</a> 54 </div> 55 <div class="sub-row"> 56 <span class="bold mr10">娱乐:</span> 57 <a href="">耳机</a> 58 <span class="ml10 mr10">/</span> 59 <a href="">音响</a> 60 <span class="ml10 mr10">/</span> 61 <a href="">收音机</a> 62 <span class="ml10 mr10">/</span> 63 <a href="">麦克风</a> 64 </div> 65 </div> 66 </div> 67 <div class="inner-box"> 68 <div class="sub-inner-box"> 69 <div class="title">电脑</div> 70 <div class="sub-row"> 71 <span class="bold mr10">电脑:</span> 72 <a href="">笔记本</a> 73 <span class="ml10 mr10">/</span> 74 <a href="">平板</a> 75 <span class="ml10 mr10">/</span> 76 <a href="">一体机</a> 77 </div> 78 <div class="sub-row"> 79 <span class="bold mr10">电脑配件:</span> 80 <a href="">显示器</a> 81 <span class="ml10 mr10">/</span> 82 <a href="">CPU</a> 83 <span class="ml10 mr10">/</span> 84 <a href="">主板</a> 85 <span class="ml10 mr10">/</span> 86 <a href="">硬盘</a> 87 <span class="ml10 mr10">/</span> 88 <a href="">电源</a> 89 <span class="ml10 mr10">/</span> 90 <a href="">显卡</a> 91 <span class="ml10 mr10">/</span> 92 <a href="">其他配件</a> 93 </div> 94 <div class="sub-row"> 95 <span class="bold mr10">游戏设备:</span> 96 <a href="">游戏机</a> 97 <span class="ml10 mr10">/</span> 98 <a href="">耳机</a> 99 <span class="ml10 mr10">/</span> 100 <a href="">游戏软件</a> 101 </div> 102 <div class="sub-row"> 103 <span class="bold mr10">网络产品:</span> 104 <a href="">路由器</a> 105 <span class="ml10 mr10">/</span> 106 <a href="">网络机顶盒</a> 107 <span class="ml10 mr10">/</span> 108 <a href="">交换机</a> 109 <span class="ml10 mr10">/</span> 110 <a href="">存储卡</a> 111 <span class="ml10 mr10">/</span> 112 <a href="">网卡</a> 113 </div> 114 <div class="sub-row"> 115 <span class="bold mr10">外部产品:</span> 116 <a href="">鼠标</a> 117 <span class="ml10 mr10">/</span> 118 <a href="">键盘</a> 119 <span class="ml10 mr10">/</span> 120 <a href="">U盘</a> 121 <span class="ml10 mr10">/</span> 122 <a href="">移动硬盘</a> 123 <span class="ml10 mr10">/</span> 124 <a href="">鼠标垫</a> 125 <span class="ml10 mr10">/</span> 126 <a href="">电脑清洁</a> 127 </div> 128 </div> 129 </div> 130 <div class="inner-box"> 131 <div class="sub-inner-box"> 132 <div class="title">家用电器</div> 133 <div class="sub-row"> 134 <span class="bold mr10">电视:</span> 135 <a href="">国产品牌</a> 136 <span class="ml10 mr10">/</span> 137 <a href="">韩国品牌</a> 138 <span class="ml10 mr10">/</span> 139 <a href="">欧美品牌</a> 140 </div> 141 <div class="sub-row"> 142 <span class="bold mr10">空调:</span> 143 <a href="">显示器</a> 144 <span class="ml10 mr10">/</span> 145 <a href="">柜式</a> 146 <span class="ml10 mr10">/</span> 147 <a href="">中央</a> 148 <span class="ml10 mr10">/</span> 149 <a href="">壁挂式</a> 150 </div> 151 <div Web前端原生JavaScript浅谈轮播图