-
Notifications
You must be signed in to change notification settings - Fork 198
/
Copy pathindex.html
146 lines (132 loc) · 6.18 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
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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<title>Windows 8 Animations</title>
<link rel="stylesheet" href="css/demo-styles.css" />
</head>
<body>
<!--===============================Start Demo====================================================-->
<div class="demo-wrapper">
<!--demo overlay template-->
<div class="demo-overlay">
<h2 class="demo-overlay-title">Windows 8 Animations</h2>
<p style=" font-size:0.7em; clear:both">Browser Support</p>
<ul class="browser-logos">
<li><img src="images/chrome.png" height="70" width="70" /></li>
<li><img src="images/firefox.png" height="70" width="70" /></li>
<li><img src="images/safari.png" height="70" width="70" /></li>
<li><img src="images/opera.png" height="70" width="70" /></li>
<li><img src="images/ie.png" height="70" width="70" /></li>
</ul>
<div class="view-demo-button">View Demo</div>
<p class="notification">* Best experienced in Webkit Browsers</p>
</div>
<!--end demo overlay template-->
<div class="login-screen">
<p>Log In</p>
<div class="myform">
<input type="text" placeholder="Password" />
<button data-icon="" id="unlock-button"></button>
</div>
</div>
<div class="page todos">
<h2 class="page-title">My Todos</h2>
<ul contenteditable>
<li>Finish my 3D demo<span class="delete-button">x</span></li>
<li>Design my blog<span class="delete-button">x</span></li>
<li>Buy groceries<span class="delete-button">x</span></li>
<li>Finish my todo app<span class="delete-button">x</span></li>
<li>Organize my bookmarks<span class="delete-button">x</span></li>
</ul>
<div class="close-button">x</div>
</div>
<div class="page random-page">
<h2 class="page-title">Some Awesome App!</h2>
<div class="close-button">x</div>
</div>
<div class="dashboard clearfix">
<div class="col1 clearfix">
<div class="big todos-thumb" data-page="todos">
<p>My Todos
<span class="todos-thumb-span">You have 5 more tasks to do!</span>
</p>
</div>
<div class="small lock-thumb">
<span class="icon-font center" aria-hidden="true" data-icon=""></span>
</div>
<div class="small last cpanel-thumb" data-page="random-page">
<span class="icon-font" aria-hidden="true" data-icon=""></span>
</div>
<div class="big notes-thumb" data-page="random-page">
<span class="icon-font" aria-hidden="true" data-icon=""></span>
<p> Notes</p>
</div>
<div class="big calculator-thumb" data-page="random-page"><span class="icon-font" aria-hidden="true" data-icon=""></span><p>Calculator</p></div>
</div>
<div class="col2 clearfix">
<div class="big organizer-thumb" data-page="random-page"><span class="icon-font" aria-hidden="true" data-icon=""></span><p>Contacts</p></div>
<div class="big news-thumb" data-page="random-page"><span class="icon-font" aria-hidden="true" data-icon=""></span><p>News</p></div>
<div class="small calendar-thumb" data-page="random-page"><span class="icon-font" aria-hidden="true" data-icon=""></span></div>
<div class="small last paint-thumb" data-page="random-page"><span class="icon-font" aria-hidden="true" data-icon=""></span></div>
<div class="big weather-thumb" data-page="random-page"><span class="icon-font" aria-hidden="true" data-icon=""></span><p> Weather</p></div>
</div>
<div class="col3 clearfix">
<div class="big photos-thumb" data-page="random-page"><span class="icon-font" aria-hidden="true" data-icon=""></span><p> Photos</p></div>
<div class="small alarm-thumb" data-page="random-page"><span class="icon-font" aria-hidden="true" data-icon=""></span></div>
<div class="small last favorites-thumb" data-page="random-page"><span class="icon-font" aria-hidden="true" data-icon=""></span></div>
<div class="big games-thumb" data-page="random-page"><span class="icon-font" aria-hidden="true" data-icon=""></span><p>Games</p></div>
<div class="small git-thumb" data-page="random-page"><span class="icon-font" aria-hidden="true" data-icon=""></span></div>
<div class="small last code-thumb" data-page="random-page"><span class="icon-font" aria-hidden="true" data-icon=""></span></div>
</div>
</div>
</div>
<!--====================================end demo wrapper================================================-->
<script src="js/jquery-1.8.2.min.js"></script>
<script src="js/modernizr-1.5.min.js"></script>
<script src="js/prefixfree.min.js"></script>
<script>
function showDashBoard(){
for(var i = 1; i <= 3; i++) {
$('.col'+i).each(function(){
$(this).addClass('fadeInForward-'+i).removeClass('fadeOutback');
});
}
}
function fadeDashBoard(){
for(var i = 1; i <= 3; i++) {
$('.col'+i).addClass('fadeOutback').removeClass('fadeInForward-'+i);
}
}
fadeDashBoard();
$(".lock-thumb").click(function(){
fadeDashBoard();
$('.login-screen').addClass('slidePageInFromLeft').removeClass('slidePageBackLeft');
});
$('#unlock-button').click(function(){
$('.login-screen').removeClass('slidePageInFromLeft').addClass('slidePageBackLeft');
showDashBoard();
});
$('.big, .small').each(function(){
var $this= $(this),
page = $this.data('page');
$this.on('click',function(){
$('.page.'+page).addClass('openpage');
fadeDashBoard();
})
});
$('.close-button').click(function(){
$(this).parent().addClass('slidePageLeft')
.one('webkitAnimationEnd oanimationend msAnimationEnd animationend', function(e) {
$(this).removeClass('slidePageLeft').removeClass('openpage');
});
showDashBoard();
});
$('.view-demo-button').click(function(){
$(this).parent().addClass('slideDemoOverlayUp');
showDashBoard();
});
</script>
</body>
</html>