wb-archiv283/trunk/wb/modules/fckeditor/fckeditor/editor/plugins/WBModules/fckwbmodules.js @ 1289
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 |
}
|