wb-archiv283/branches/2.8.x/wb/modules/fckeditor/fckeditor/editor/plugins/WBModules/fckwbmodules.js @ 1161
1 | 816 | doc | // 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 | }
|