PHP Classes

File: assets/pages/scripts/contact-us.js

Recommend this page to a friend!
  Classes of Nemeth Zoltan  >  YAF Base  >  assets/pages/scripts/contact-us.js  >  Download  
File: assets/pages/scripts/contact-us.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: YAF Base
Base structure for YAF framework based apps
Author: By
Last change:
Date: 4 years ago
Size: 616 bytes
 

Contents

Class file image Download
var ContactUs = function () {

    return {
        //main function to initiate the module
        init: function () {
			var map;
			$(document).ready(function(){
			  map = new GMaps({
				div: '#map',
	            lat: -13.004333,
				lng: -38.494333,
			  });
			   var marker = map.addMarker({
		            lat: -13.004333,
					lng: -38.494333,
		            title: 'Loop, Inc.',
		            infoWindow: {
		                content: "<b>Loop, Inc.</b> 795 Park Ave, Suite 120<br>San Francisco, CA 94107"
		            }
		        });

			   marker.infoWindow.open(map, marker);
			});
        }
    };

}();
For more information send a message to info at phpclasses dot org.