Project

General

Profile

1
// Function to set special attributes. Copied from FCK Core function
2
function SetAttribute( element, attName, attValue )
3
{
4
	if ( attValue == null || attValue.length == 0 )
5
		element.removeAttribute( attName, 0 ) ;			// 0 : Case Insensitive
6
	else
7
		element.setAttribute( attName, attValue, 0 ) ;	// 0 : Case Insensitive
8
}
(4-4/7)