All Downloads are FREE. Search and download functionalities are using the official Maven repository.

public.component.assets.custom.home_default.js Maven / Gradle / Ivy

There is a newer version: 3.0.1.11
Show newest version

DynamicLoad.loadFileList(jsCssFile,function(){
	$.homeGlobal =HomeGlobal;
	 var home = new Home();
	 home.initDefaultPage = function(data){
		 $('#homeDefaultPage').attr("href","home.html#"+data.defaultPage);
		 document.getElementById('homeDefaultPage').click();
	 };
	 home.getSelfPage = function(){
		 return "home.html";
	 };
	 home.getIndexDataUrl = function(){
		return "upm/indexData";
 	 }
	 home.buildMenu = function(data){
		    var menuData = data.menuData;
			var menuBuffer = [];
			if(menuData){
				for(var i=0;i');
					menuBuffer.push('');
					menuBuffer.push('');
					menuBuffer.push(''+name+'');
					menuBuffer.push('');
					menuBuffer.push('');
					menuBuffer.push('');
					menuBuffer.push('');	
                menuBuffer.push('');	
				}
			}
			
			var menuStr = menuBuffer.join(' ');
			$('#menuDiv').html(menuStr);
	 }
	 home.init();
});




© 2015 - 2025 Weber Informatics LLC | Privacy Policy