diff --git a/google/calendar.js b/google/calendar.js index f4a1174..75958e9 100644 --- a/google/calendar.js +++ b/google/calendar.js @@ -89,7 +89,7 @@ function makeEvent(information) }); request.execute(function(event) { - alert('Event created: ' + event.htmlLink); + console.log('Event created!'); }); } diff --git a/google/maps.js b/google/maps.js index c6cc416..c740e21 100644 --- a/google/maps.js +++ b/google/maps.js @@ -7,6 +7,11 @@ function directionsURL(inCommand) { var dest = inCommand.substring(startOfTo+3).replace(" ", "+"); // "14872 Waverly Lane, Irvine, CA" to "14872 Waverly Lane+Irvine+CA" var link = "https://www.google.com/maps/embed/v1/directions?key=AIzaSyCZCgZY7ZlSMk1DW0NEEoHZ9qwdSL4AR1k&origin="+origin+"&destination="+dest mapsFrame.src = link; - mapsFrame.style.display = "block"; - var d = ''; + $('#map').delay(3000).fadeIn(); + $('#search-cont').delay(2700).animate({'margin-top' : '-=200px'}); + $('#input').mousedown(function() { + $('#map').fadeOut(500); + $('#search-cont').animate({'margin-top' : '+=200px'}); + $('#input').unbind(); + }); } diff --git a/images/error.png b/images/error.png new file mode 100644 index 0000000..89be44d Binary files /dev/null and b/images/error.png differ diff --git a/index.html b/index.html index 1dcac56..31a32fa 100644 --- a/index.html +++ b/index.html @@ -2,10 +2,12 @@ DoEverythingBar + + @@ -20,14 +22,16 @@
+
- + +