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

org.apache.myfaces.custom.toggle.resource.MyFacesToggleLink.js Maven / Gradle / Ivy

Go to download

JSF components and utilities that can be used with any JSF implementation. This library is compatible with both JSF1.1 and JSF1.2; however for JSF1.2 users there is an alternative build of Tomahawk available that takes advantage of JSF1.2 features to offer some additional benefits.

There is a newer version: 1.1.14
Show newest version
function MyFacesToggleLinkUtils() {}
	
MyFacesToggleLinkUtils.scrollTo = function(id){
	var theelement = document.getElementById(id);
	if(theelement.scrollIntoView){
		theelement.scrollIntoView(true); 
	}
}

MyFacesToggleLinkUtils.toggle = function(idsToShowS,idsToHideS,toggleFlag,onClickFocusId) {
	var idsToHide = idsToHideS.split(',');
	for(var i=0;i




© 2015 - 2024 Weber Informatics LLC | Privacy Policy