-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathloading.html
222 lines (211 loc) · 7.51 KB
/
loading.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
<!doctype html>
<!-- 书本翻页 兼容标签 开始 -->
<!--[if lt IE 7 ]> <html lang="en" class="ie6"> <![endif]-->
<!--[if IE 7 ]> <html lang="en" class="ie7"> <![endif]-->
<!--[if IE 8 ]> <html lang="en" class="ie8"> <![endif]-->
<!--[if IE 9 ]> <html lang="en" class="ie9"> <![endif]-->
<!--[if !IE]><!--> <html lang="en"> <!--<![endif]-->
<!-- 书本翻页 兼容标签 结束 -->
<head>
<meta charset="UTF-8">
<meta name="viewport" content="user-scalable=no" />
<title>企业展示页面</title>
<link rel="stylesheet" type="text/css" href="assets/css/reset.css">
<link rel="stylesheet" type="text/css" href="assets/css/common.css">
<link rel="stylesheet" type="text/css" href="assets/css/font-awesome.min.css">
</head>
<body>
<div class="wrap">
<div id="header">
<div id="logo"><a href="#"><img src="assets/img/logo.png" alt="borgward logo"></a></div>
<div id="tip">
<ul class="lg">
<li><a href="#">DE</a></li>
<li class="cur"><a href="#">EN</a></li>
<li class="search">
<input id="seatop" type="search" class="search-text">
</li>
</ul>
</div>
<div id="menu">
<ul class="tab">
<li><a href="index.html">Home</a></li>
<li class="submenus">
<a href="histroy.html?sdr=0">Legendary history</a>
<ul class="tab2">
<li><a href="histroy.html?sdr=0">CARL F.W</a></li>
<li><a href="histroy.html?sdr=1">BORGWARD ICONS</a></li>
<li><a href="histroy.html?sdr=2">ACHIEVEMENTS</a></li>
<li><a href="histroy.html?sdr=3">INNOVATIONS</a></li>
<li><a href="histroy.html?sdr=4">DESIGN</a></li>
<li><a href="histroy.html?sdr=5">MOTORSPORT</a></li>
</ul>
</li>
<li class="submenus">
<a href="return.html?sdr=0">Legendary return</a>
<ul class="tab2">
<li><a href="return.html?sdr=0">Christian Borgward</a></li>
<li><a href="return.html?sdr=1">A famous logo reimagined</a></li>
<li><a href="return.html?sdr=2">Brand decoded</a></li>
<li><a href="return.html?sdr=3">Brand values</a></li>
</ul>
</li>
<li class="submenus">
<a href="prosp.html?sdr=0">Legendary Prospect</a>
<ul class="tab2">
<li><a href="prosp.html?sdr=2">New energy</a></li>
<li><a href="prosp.html?sdr=1">Design DNA</a></li>
<li><a href="prosp.html?sdr=0">Connected car</a></li>
</ul>
</li>
<li><a class="last" href="media.html">Press Center</a></li>
</ul>
</div>
</div>
<div id="container">
<div id="sliderC">
<!-- 书本翻页 页面标签 开始 -->
<div class="carbook-bg">
<div class="carbook-viewport">
<div class="container">
<div class="carbook">
<div class="hard" style="background-image:url(assets/img/pages/cover.png)"></div>
<div class="hard" style="background-image:url(assets/img/pages/1_01.png)"></div>
<div class="hard" style="background-image:url(assets/img/pages/1_02.png)"></div>
<div class="hard" style="background-image:url(assets/img/pages/2_01.png)"></div>
<div class="hard" style="background-image:url(assets/img/pages/2_02.png)"></div>
<div class="hard" style="background-image:url(assets/img/pages/3_01.png)"></div>
<div class="hard" style="background-image:url(assets/img/pages/3_02.png)"></div>
<div class="hard" style="background-image:url(assets/img/pages/4_01.png)"></div>
<div class="hard" style="background-image:url(assets/img/pages/4_02.png)"></div>
<div class="hard" style="background-image:url(assets/img/pages/coverbak.png)"></div>
</div>
</div>
</div>
<div class="skipbtn">
<a href="index.html"><img src="assets/img/pages/skip.png"></a>
</div>
</div>
<!-- 书本翻页 页面标签 结束 -->
</div>
</div>
<div id="footer">
<div class="copy">
© 2015 BORGWARD AG - ALL RIGHTS RESERVED.
</div>
<div class="foot-tip">
<span href="#" class="share">Share :
<a href="javascript: void(window.open('https://twitter.com/borgward_ag/?status='.concat(encodeURIComponent(document.title)) .concat('') .concat(encodeURIComponent(location .href))));"><i class="fa fa-twitter"></i></a>
<a href="javascript: void(window.open('https://www.facebook.com/borgward.official?u='.concat(encodeURIComponent(location.href)) ));"><i class="fa fa-facebook"></i></a>
</span>
<a href="sitemap.html" class="map">Sitemap</a>|<a href="media.html" class="map">Download</a>|<a href="law.html" class="map">Laws & Privacy</a>
</div>
</div>
</div>
<script type="text/javascript" src="assets/js/lib/jquery-1.8.2.min.js"></script>
<script type="text/javascript" src="assets/js/lib/modernizr.2.5.3.min.js"></script>
<script type="text/javascript">
/*------------- 书本翻页 脚本 开始 -------------*/
var mflag = true, mauto = true;
function loadApp() {
var carbook = $('.carbook');
if (carbook.width()==0 || carbook.height()==0) {
setTimeout(loadApp, 10);
return;
}
$('.carbook').turn({
duration: 800,
gradients: false
});
$('.skipbtn').show();
$('.skipbtn img').hover(function() {
$(this).attr('src', 'assets/img/pages/skip_b.png');
}, function() {
$(this).attr('src', 'assets/img/pages/skip.png');
});
};
// 手动翻多页
$(".carbook").bind("turning", function(event, page, view) {
switch (page)
{
case 2 || 3:
$('.carbook .p3').html('<img src="assets/img/pages/1_txt_02.png" style="display:none;">');
break;
case 4 || 5:
$('.carbook .p5').html('<img src="assets/img/pages/2_txt_02.png" style="display:none;">');
break;
case 6 || 7:
$('.carbook .p7').html('<img src="assets/img/pages/3_txt_02.png" style="display:none;">');
break;
case 8 || 9:
$('.carbook .p9').html('<img src="assets/img/pages/4_txt_02.png" style="display:none;">');
break;
};
})
.bind("turned", function(event, page, turned){
switch (page)
{
case 2 || 3:
$('.carbook .p3 img').fadeIn(300);
break;
case 4 || 5:
$('.carbook .p5 img').fadeIn(300);
break;
case 6 || 7:
$('.carbook .p7 img').fadeIn(300);
break;
case 8 || 9:
$('.carbook .p9 img').fadeIn(300);
break;
};
})
.bind('last', function(event) {
setTimeout(gofst(), 2000);
});;
function gofst(){
$('.carbook').turn('page', 1);
};
// 定时翻页,翻动多页
function tp(){
var ft = 2, cp = $('.carbook').turn('page');
if((cp + ft) < 11){
$('.carbook').turn('next');
mauto = true;
};
};
var tdbp = setInterval(tp, 3000);
// 鼠标移入移出开关自动翻页
$('.carbook').mouseover(function(event) {
clearInterval(tdbp);
mflag = false;
mauto = false;
}).mouseout(function(event) {
tdbp = setInterval(tp, 2000);
mflag = true;
});
$('.submenus')
.mouseover(function(event) {
$(this).children('.tab2').show();
})
.mouseout(function(event) {
$(this).children('.tab2').hide();
});
$('#seatop').keydown(function(e){
if(e.keyCode==13){
var purl = 'search.html?key=' + $('#seatop').val();
window.open(purl);
//$('#FormId').submit();
}
});
// 延迟载入资源文件
yepnope({
test : Modernizr.csstransforms,
yep: ['assets/js/lib/turn.min.js'],
nope: ['assets/js/lib/turn.html4.min.js'],
both: ['assets/js/lib/scissor.min.js', 'assets/css/car-page.css'],
complete: loadApp
});
/*------------- 书本翻页 脚本 结束 -------------*/
</script>
</body>
</html>