|
5 | 5 | <title>Zoom to Background</title>
|
6 | 6 |
|
7 | 7 | <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> |
9 | 9 |
|
10 | 10 | <style>
|
11 | 11 | #actions{
|
|
14 | 14 | right:25px;
|
15 | 15 | }
|
16 | 16 | #container{
|
| 17 | + background:#fafafa; |
17 | 18 | position:relative;
|
18 | 19 | width:960px;
|
19 | 20 | height:500px;
|
20 | 21 | border:1px solid #ccc;
|
21 | 22 | margin:50px auto;
|
22 | 23 | overflow:hidden;
|
23 | 24 | }
|
| 25 | + |
| 26 | + #logo_menu{ |
| 27 | + margin-left:125px; |
| 28 | + opacity:0.0; |
| 29 | + } |
24 | 30 | #boots{
|
25 | 31 | position:absolute;
|
26 | 32 | top:150px;
|
|
36 | 42 | #explore_header{
|
37 | 43 | display:block;
|
38 | 44 | position:relative;
|
39 |
| - margin:50px auto 0; |
| 45 | + margin:25px auto 0; |
40 | 46 | opacity:0.0;
|
41 | 47 | }
|
42 | 48 |
|
|
49 | 55 | }
|
50 | 56 |
|
51 | 57 | .post-it{
|
52 |
| - width:195px; |
53 |
| - height:170px; |
| 58 | + width:190px; |
| 59 | + height:175px; |
54 | 60 | float:left;
|
55 | 61 | margin-left:-0px;
|
56 | 62 | }
|
|
78 | 84 |
|
79 | 85 | <body>
|
80 | 86 | <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"> |
83 | 89 |
|
84 | 90 | <div class="post-its">
|
85 | 91 | <div id="post_it_1">
|
|
98 | 104 | </div>
|
99 | 105 | </body>
|
100 | 106 |
|
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> --> |
105 | 111 |
|
106 | 112 | <script type="text/javascript">
|
107 | 113 |
|
|
119 | 125 | }
|
120 | 126 | });
|
121 | 127 |
|
122 |
| - $('#clickback').click(function() { |
| 128 | + $('#logo_menu').click(function() { |
123 | 129 | if ($("#boots").css("opacity") != 1){
|
124 | 130 | returnBootsToForeground();
|
125 | 131 | slideOutPostIts();
|
|
164 | 170 |
|
165 | 171 | function fadeInExploreHeader(){
|
166 | 172 | console.log("fade In ExploreHeader");
|
| 173 | + $("#logo_menu").animate({opacity: 0.8}, |
| 174 | + {queue:false, duration:250, easing: "easeOutSine"}); |
167 | 175 | $("#explore_header").animate({opacity: 0.8},
|
168 | 176 | {queue:false, duration:250, easing: "easeOutSine", complete: exploreLoadComplete});
|
169 | 177 | }
|
170 | 178 |
|
171 | 179 | function fadeOutExploreHeader(){
|
| 180 | + $("#logo_menu").animate({opacity: 0.0}, |
| 181 | + {queue:false, duration:250, easing: "easeOutSine"}); |
172 | 182 | $("#explore_header").animate({opacity: 0.0},
|
173 | 183 | {queue:false, duration:250, easing: "easeOutSine"});
|
174 | 184 | }
|
|
0 commit comments