GIF89a;
Direktori : /home/serb/public_html/fckeditor/editor/dialog/ |
Current File : /home/serb/public_html/fckeditor/editor/dialog/fck_anchor.html |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" > <!-- * FCKeditor - The text editor for internet * Copyright (C) 2003-2004 Frederico Caldeira Knabben * * Licensed under the terms of the GNU Lesser General Public License: * http://www.opensource.org/licenses/lgpl-license.php * * For further information visit: * http://www.fckeditor.net/ * * File Name: fck_anchor.html * Anchor dialog window. * * Version: 2.0 RC3 * Modified: 2005-02-16 19:13:27 * * File Authors: * Frederico Caldeira Knabben (fredck@fckeditor.net) --> <html> <head> <title>Anchor Properties</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta content="noindex, nofollow" name="robots"> <script src="common/fck_dialog_common.js" type="text/javascript"></script> <script type="text/javascript"> 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( '<a name="' + GetE('txtName').value + '"></a>' ) ; return true ; } </script> </head> <body style="OVERFLOW: hidden" scroll="no"> <table height="100%" width="100%"> <tr> <td align="center"> <table border="0" cellpadding="0" cellspacing="0" width="80%"> <tr> <td> <span fckLang="DlgAnchorName">Anchor Name</span><BR> <input id="txtName" style="WIDTH: 100%" type="text"> </td> </tr> </table> </td> </tr> </table> </body> </html>