Anchor Properties
var oEditor = window.parent.InnerDialogLoaded() ;
// Gets the document DOM
var oDOM = oEditor.FCK.EditorDocument ;
var oActiveEl = oEditor.FCKSelection.GetSelectedElement() ;
window.onload = function()
{
// First of all, translate the dialog box texts
oEditor.FCKLanguageManager.TranslatePage(document) ;
if ( oActiveEl && oActiveEl.tagName == 'A' && oActiveEl.name.length > 0 && oActiveEl.getAttribute('href').length == 0 )
GetE('txtName').value = oActiveEl.name ;
else
oActiveEl = null ;
window.parent.SetOkButton( true ) ;
}
function Ok()
{
if ( GetE('txtName').value.length == 0 )
{
alert( oEditor.FCKLang.DlgAnchorErrorName ) ;
return false ;
}
oEditor.FCK.InsertHtml( '' ) ;
return true ;
}
Anchor Name
Wyszukiwarka
Podobne podstrony:
fck anchorfck anchorfck pastefck templatefck radiobuttonTabela kolorow ANCHORwięcej podobnych podstron