Template:Amoy/Javascript/HomeMenuJs

/* Pagination */ function changePage(event) {

 var pageNo = $(this).html();
 $('.portfolio-page').hide();
 $('#page-' + pageNo).fadeIn();
 $('.pagination li').removeClass('active');
 $(this).addClass('active');

}

/* Google Map */ function loadScript() {

 var script = document.createElement('script');
 script.type = 'text/javascript';
 script.src = 'https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false&' +
     'callback=initialize';
 document.body.appendChild(script);

}

function initialize() {

   var mapOptions = {
     zoom: 12,
     center: new google.maps.LatLng(40.7823234,-73.9654161)
   };
   var map = new google.maps.Map(document.getElementById('templatemo_map'),  mapOptions);

}