GIF89a;
Direktori : /home/serb/www/fckeditor/editor/dialog/ |
Current File : /home/serb/www/fckeditor/editor/dialog/fck_smiley.html |
<!-- * 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_smiley.html * Smileys (emoticons) dialog window. * * Version: 2.0 RC3 * Modified: 2005-02-08 13:23:07 * * File Authors: * Frederico Caldeira Knabben (fredck@fckeditor.net) --> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" > <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="robots" content="noindex, nofollow" /> <style type="text/css"> .HandIE { cursor: hand ; } .HandMozilla { cursor: pointer ; } </style> <script type="text/javascript"> var oEditor = window.parent.InnerDialogLoaded() ; window.onload = function () { // First of all, translate the dialog box texts oEditor.FCKLanguageManager.TranslatePage(document) ; } function InsertSmiley( url ) { var oImg = oEditor.FCK.CreateElement( 'IMG' ) ; oImg.src = url ; window.parent.Cancel() ; } function over(td) { td.className = 'LightBackground HandIE HandMozilla' ; } function out(td) { td.className = 'DarkBackground HandIE HandMozilla' ; } </script> </head> <body scroll="no"> <table cellpadding="2" cellspacing="2" align="center" border="0" width="100%" height="100%"> <script type="text/javascript"> <!-- var FCKConfig = oEditor.FCKConfig ; var sBasePath = FCKConfig.SmileyPath ; var aImages = FCKConfig.SmileyImages ; var cols = FCKConfig.SmileyColumns ; var i = 0 ; while (i < aImages.length) { document.write("<TR>") ; for(var j = 0 ; j < cols ; j++) { if (aImages[i]) { var sUrl = sBasePath + aImages[i] ; document.write("<TD width='1%' align='center' class='DarkBackground HandIE HandMozilla' onclick='InsertSmiley(\"" + sUrl.replace(/"/g, '\\"' ) + "\")' onmouseover='over(this)' onmouseout='out(this)'>") ; document.write("<img src='" + sUrl + "' border='0'>") ; } else document.write("<TD width='1%' class='DarkBackground'> ") ; document.write("</TD>") ; i++ ; } document.write("</TR>") ; } //--> </script> </table> </body> </html>