-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
56 lines (53 loc) · 1.81 KB
/
index.html
File metadata and controls
56 lines (53 loc) · 1.81 KB
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
<!DOCTYPE html>
<head >
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<title>L'NOIR</title>
<link rel="stylesheet" href="css/stylesheet.css" type="text/css">
<script src="js/jquery.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript" charset="utf-8">
$(document).ready(function(){
$("#home").animate({left:"660px"}).animate({left:"680px"});
$("#info").animate({left:"760px"}).animate({left:"780px"});
$("#company").animate({left:"850px"}).animate({left:"870px"});
$("#contact").animate({left:"1030px"}).animate({left:"1010px"});
$("#clients").animate({left:"1180px"}).animate({left:"1160px"},600,function(){
$(".footer p").animate({bottom:"1px"});
});
//on unloading the page
$(".navi ul li a").click(function(e){
var link = this.href;
e.preventDefault();
if (link.indexOf("lnoir.html") != -1){
return;
}
$("#home").animate({top:"58.5%"},600).fadeOut();
$("#info").animate({top:"58.1%"},600).fadeOut();
$("#company").animate({top:"57.7%"},600).fadeOut();
$("#contact").animate({top:"57.3%"},600).fadeOut();
$("#clients").animate({top:"56.9%"},600).fadeOut();
$(".footer p").animate({bottom:"-30px"});
setTimeout(function(){window.location = link;},1400);
});
});
</script>
</head>
<body onload="">
<!-- navi starts here -->
<div class="navi">
<ul>
<li id="home">Home</li>
<li id="info"><a href="pages/info.html">info</a></li>
<li id="company"><a href="pages/company.html">company</a></li>
<li id="contact"><a href="pages/contact.html">contact</a></li>
<li id="clients"><a href="pages/clients.html">clients</a></li>
</ul>
</div>
<!-- navi ends here -->
<!-- footer starts here -->
<div class="footer">
<p>
Copyright © 2010.All Rights Reserved
</p>
</div>
<!-- footer ends here -->
</body>