From d847ddd73f9da415e679e8f1bb96d611bfe0a7d6 Mon Sep 17 00:00:00 2001 From: Astrolingus Date: Thu, 30 Oct 2014 18:01:30 -0400 Subject: [PATCH] added missing files --- Iconomation.html | 31 +++++++++++++++++++++++++++++++ Iconomation.js | 43 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+) create mode 100644 Iconomation.html create mode 100644 Iconomation.js diff --git a/Iconomation.html b/Iconomation.html new file mode 100644 index 0000000..3fc7f1b --- /dev/null +++ b/Iconomation.html @@ -0,0 +1,31 @@ + + + + Sharang's Iconomation Assignment: Sex Ed Part 1 Yay! + + + + + + + +

Sex Ed Part 1

+
+

Refresh to see it again

+ + + diff --git a/Iconomation.js b/Iconomation.js new file mode 100644 index 0000000..ec2e630 --- /dev/null +++ b/Iconomation.js @@ -0,0 +1,43 @@ +// add icons +$('.playspace').append(''); +$('.playspace').append(''); + + +// set the initial positions + +$('.em-person_with_blond_hair').css({ + top: 200, + left: 300 +}); + +$('.em-woman').css({ + top: 200, + left: 100 +}); + + +// play! + +$('.em-woman').animate({ + left: 190 +}, 1000); + +$('.em-person_with_blond_hair').animate({ + left: 200 +}, 1000); + + + + +//after 660ms... +setTimeout(function() { + //place baby + + $('.playspace').append(''); + + $('.em-baby').css({ + top: 225, + left: 196 + }); + +}, 660);