-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathBrownstone.js
28 lines (22 loc) · 931 Bytes
/
Brownstone.js
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
$("#CactusWindow").click(function(){
TweenMax.to("#Cactus", 2, {y:-30, repeat: 1, repeatDelay: 7, yoyo:true});
});
$("#RoWindow").click(function(){
TweenMax.to("#Cat", 2, {y:-55, repeat: 1, repeatDelay: 10, yoyo:true});
});
$("#BlindsWindow").click(function(){
TweenMax.to("#Blinds", 2, {y:110, repeat: 1, repeatDelay: 8, yoyo:true});
});
$("#CurtainWindow").click(function(){
TweenMax.to("#Curtain", 2, {x:30, repeat: 1, repeatDelay: 5, yoyo:true});
TweenMax.to("#RCurtain", 2, {x:-32, repeat: 1, repeatDelay: 5, yoyo:true});
});
$("#LightBulbWindow").click(function(){
TweenMax.to("#LBColor", 1, {css:{fill:"#e6f5fd"}, repeat: 1, repeatDelay: 6, yoyo:true});
});
$("#LBColor").click(function(){
TweenMax.to("#LBColor", 1, {css:{fill:"#e6f5fd"}, repeat: 1, repeatDelay: 6, yoyo:true});
});
$("#PigeonBody").click(function(){
TweenMax.to("#PigeonHead", 0.125, {x:-2.5, repeat: 9, repeatDelay: 0.25, yoyo:true});
});