Skip to content

Commit 04d6aa0

Browse files
committed
Simplify and add lightness
1 parent f4d1ab7 commit 04d6aa0

File tree

8 files changed

+21
-11
lines changed

8 files changed

+21
-11
lines changed

public/zoom_to_background/index.html

Lines changed: 21 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<title>Zoom to Background</title>
66

77
<script type="text/javascript" src="/javascripts/jquery.min.js"></script>
8-
<script type="text/javascript" src="/javascripts/jquery-ui.min.js"></script>
8+
<script type="text/javascript" src="/javascripts/jquery.easing.1.3.js"></script>
99

1010
<style>
1111
#actions{
@@ -14,13 +14,19 @@
1414
right:25px;
1515
}
1616
#container{
17+
background:#fafafa;
1718
position:relative;
1819
width:960px;
1920
height:500px;
2021
border:1px solid #ccc;
2122
margin:50px auto;
2223
overflow:hidden;
2324
}
25+
26+
#logo_menu{
27+
margin-left:125px;
28+
opacity:0.0;
29+
}
2430
#boots{
2531
position:absolute;
2632
top:150px;
@@ -36,7 +42,7 @@
3642
#explore_header{
3743
display:block;
3844
position:relative;
39-
margin:50px auto 0;
45+
margin:25px auto 0;
4046
opacity:0.0;
4147
}
4248

@@ -49,8 +55,8 @@
4955
}
5056

5157
.post-it{
52-
width:195px;
53-
height:170px;
58+
width:190px;
59+
height:175px;
5460
float:left;
5561
margin-left:-0px;
5662
}
@@ -78,8 +84,8 @@
7884

7985
<body>
8086
<div id="container">
81-
82-
<img src="explore_header.png" width="753" height="92" alt="Explore Header" id="explore_header">
87+
<img src="logo_menu.png" width="500" height="41" alt="Logo Menu" id="logo_menu" class="header">
88+
<img src="explore_header.png" width="753" height="92" alt="Explore Header" id="explore_header" class="header">
8389

8490
<div class="post-its">
8591
<div id="post_it_1">
@@ -98,10 +104,10 @@
98104
</div>
99105
</body>
100106

101-
<div id="actions">
102-
<div id="clickback">Close</div>
103-
<div id="fade">Fade</div>
104-
</div>
107+
<!-- <div id="actions">
108+
<div id="clickback">Close</div>
109+
<div id="fade">Fade</div>
110+
</div> -->
105111

106112
<script type="text/javascript">
107113

@@ -119,7 +125,7 @@
119125
}
120126
});
121127

122-
$('#clickback').click(function() {
128+
$('#logo_menu').click(function() {
123129
if ($("#boots").css("opacity") != 1){
124130
returnBootsToForeground();
125131
slideOutPostIts();
@@ -164,11 +170,15 @@
164170

165171
function fadeInExploreHeader(){
166172
console.log("fade In ExploreHeader");
173+
$("#logo_menu").animate({opacity: 0.8},
174+
{queue:false, duration:250, easing: "easeOutSine"});
167175
$("#explore_header").animate({opacity: 0.8},
168176
{queue:false, duration:250, easing: "easeOutSine", complete: exploreLoadComplete});
169177
}
170178

171179
function fadeOutExploreHeader(){
180+
$("#logo_menu").animate({opacity: 0.0},
181+
{queue:false, duration:250, easing: "easeOutSine"});
172182
$("#explore_header").animate({opacity: 0.0},
173183
{queue:false, duration:250, easing: "easeOutSine"});
174184
}
8 KB
Loading
-114 KB
Loading
-117 KB
Loading
-117 KB
Loading
-104 KB
Loading
-105 KB
Loading
-114 KB
Loading

0 commit comments

Comments
 (0)