-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathlayout.html
More file actions
79 lines (79 loc) · 2.24 KB
/
layout.html
File metadata and controls
79 lines (79 loc) · 2.24 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<html>
<head>
<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/3.6.0/build/cssfonts/cssfonts-min.css">
<script src="http://yui.yahooapis.com/3.6.0/build/yui/yui-min.js"></script>
<script type="text/javascript">
YUI().use('node','event-hover','anim',function(Y) {
Y.one('#query').on('focus',function() {
var boxAnim = new Y.Anim({
node:'#query',
to : {
width:400
},
easing:'elasticOut'
});
boxAnim.run();
});
Y.one('#query').on('hover',function over() {
//alert('otha');
//Y.one('#query').addClass('one').removeClass('two');
var boxAnim = new Y.Anim({
node:'#query',
to : {
width:400
},
easing:'elasticBoth'
});
boxAnim.run();
Y.one("#query").focus();
});
Y.one("#query").on("blur",function() {
//alert('otha');
//Y.one('#query').addClass('two').removeClass('one');
var boxAnim = new Y.Anim({
node:'#query',
to : {
width:200
},
easing:'elasticBoth'
});
boxAnim.run();
});
});
</script>
<style type="text/css">
body{overflow:hidden;}
#sCont{position:absolute;width:100%;}
#query{position:absolute;right:20%;border:1px solid gray;width:200px;height:35px;border:none;border-bottom:1px solid gray;}
#query:focus{width:400px;border:none;border-bottom:1px solid gray;}
#search{cursor:pointer;position:absolute;right:17.5%;}
#naam{position:absolute;left:20%;top:2%;font-size:189%;}
#top{background:red;position:absolute;top:0%;}
#container{position:absolute;left:28%;top:25%;width:640px;height:360px;border:1px solid gray;background:url('placeholder.jpg');}
#prev{cursor:pointer;position:absolute;top:50%;left:4%;}
#next{cursor:pointer;position:absolute;top:50%;right:4%;}
#foot{position:absolute;bottom:0%;width:100%;}
#copy{position:absolute;right:2%;bottom:1%;}
#quote{position:absolute;left:2%;bottom:1%;}
</style>
</head>
<body>
<div id="head">
<center><strong id="naam">FlipTube</strong></center>
<div id="sCont">
<input type="text" placeholder="Enter keywords" id="query"/><div id="search"><img src="toolbar_find.png" /></div>
</div>
</div>
<br/><br/><br/>
<hr>
<div id="prev"><img src="glyphicons_171_fast_backward.png"/></div>
<div id="container"></div>
<div id="next"><img src="glyphicons_177_fast_forward.png"/></div>
<div id="foot">
<hr>
<br/>
<span id="quote">Random Footer Quote to be filled</span><span id="copy">Apocalypse 2012</span>
<br/>
</div>
</body>
</html>