asdf
This commit is contained in:
+7
-2
@@ -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();
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user