forked from wzc602003869/frontcode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
30 lines (30 loc) · 1.12 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>test</title>
<link rel="stylesheet" type="text/css" href="css/reset.css" media="all"/>
<link rel="stylesheet" type="text/css" href="css/main.css" media="all"/>
</head>
<body>
<div class="wrap shadow">
<ol id="ol" class="list"></ol>
</div>
<script type="text/javascript">
var str = '',
data = [
{ url : 'slide/01/bd01.html', title : '百度爱玩 - 图片轮换效果' },
{ url : 'slide/02/bd02.html', title : '百度爱玩 - 遮罩下拉' },
{ url : 'slide/03/bd03.html', title : '百度爱玩 - 榜单tab切换' },
{ url : 'slide/04/index.html', title : 'css3弹出层' },
{ url : 'slide/05/index.html', title : '米4-活动页面' },
{ url : 'slide/07/index.html', title : '百度微购-中秋送好礼' }
];
for(var i = 0; i < data.length; i++){
var items = data[i];
str += '<li><a href="' + items.url + '" target="_blank" title="">' + items.title + '</a></li>';
}
document.getElementById('ol').innerHTML = str;
</script>
</body>
</html>