MobileMeta.js

Small and lightweight JS library which saves a lot of time configuring mobile meta tags, such as viewport, home screen icons and startup screens for iOS web apps

Stars
34
Committers
1
/*==/ 
	Home Screen Icons
/==*/
icons : {
	iPad : 'path_to/icon_72x72.png',      //<- For iPad
	iPadR : 'path_to/icon_144x144.png',   //<- For iPad Retina
	iPhone : 'path_to/icon_57x57.png',    //<- For iPhone , Android 2.1+
	iPhoneR : 'path_to/icon_114x114.png', //<- For iPhone Retina
	default : 'path_to/icon.png'          //<- For other and old browsers
},

/*==/ 
	Web App
/==*/
webApp : {
	//iOS Status Bar - 'default', 'black' or 'black-translucent' 
	statusBar : 'black-translucent',
	
	//Startup screen image
	startup : {
		iPad_L :  'path_to/startup_1024x748.png',  //<- For iPad in Lanscape orientation
		iPad_P :  'path_to/startup_768x1004.png',  //<- For iPad in Portrait orientation
		iPadR_L : 'path_to/startup_1496x2048.png', //<- For iPad Retina in Lanscape orientation
		iPadR_P : 'path_to/startup_1536x2008.png', //<- For iPad Retina in Portrait orientation
		iPhone :  'path_to/startup_320x460.png',   //<- For iPhone, only in Portrait orientation
		iPhoneR : 'path_to/startup_640x920.png'    //<- For iPhone Retina, only in Portrait orientation
	}
}

});