BVB Source Codes

Jie Yang v0.6.3 article system Show fck_smiley.html Source code

Return Download Jie Yang v0.6.3 article system: download fck_smiley.html Source code - Download Jie Yang v0.6.3 article system Source code - Type:.html
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
  2. <!--
  3. * FCKeditor - The text editor for Internet - http://www.fckeditor.net
  4. * Copyright (C) 2003-2008 Frederico Caldeira Knabben
  5. *
  6. * == BEGIN LICENSE ==
  7. *
  8. * Licensed under the terms of any of the following licenses at your
  9. * choice:
  10. *
  11. *  - GNU General Public License Version 2 or later (the "GPL")
  12. *    http://www.gnu.org/licenses/gpl.html
  13. *
  14. *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
  15. *    http://www.gnu.org/licenses/lgpl.html
  16. *
  17. *  - Mozilla Public License Version 1.1 or later (the "MPL")
  18. *    http://www.mozilla.org/MPL/MPL-1.1.html
  19. *
  20. * == END LICENSE ==
  21. *
  22. * Smileys (emoticons) dialog window.
  23. -->
  24. <html xmlns="http://www.w3.org/1999/xhtml">
  25. <head>
  26.         <title></title>
  27.         <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  28.         <meta name="robots" content="noindex, nofollow" />
  29.         <style type="text/css">
  30.                 .Hand
  31.                 {
  32.                         cursor: pointer;
  33.                         cursor: hand;
  34.                 }
  35.         </style>
  36.         <script src="common/fck_dialog_common.js" type="text/javascript"></script>
  37.         <script type="text/javascript">
  38.  
  39. var dialog      = window.parent ;
  40. var oEditor = dialog.InnerDialogLoaded() ;
  41.  
  42. window.onload = function ()
  43. {
  44.         // First of all, translate the dialog box texts
  45.         oEditor.FCKLanguageManager.TranslatePage(document) ;
  46.  
  47.         dialog.SetAutoSize( true ) ;
  48. }
  49.  
  50. function InsertSmiley( url )
  51. {
  52.         oEditor.FCKUndo.SaveUndoStep() ;
  53.  
  54.         var oImg = oEditor.FCK.InsertElement( 'img' ) ;
  55.         oImg.src = url ;
  56.         oImg.setAttribute( '_fcksavedurl', url ) ;
  57.  
  58.         // For long smileys list, it seams that IE continues loading the images in
  59.         // the background when you quickly select one image. so, let's clear
  60.         // everything before closing.
  61.         document.body.innerHTML = '' ;
  62.  
  63.         dialog.Cancel() ;
  64. }
  65.  
  66. function over(td)
  67. {
  68.         td.className = 'LightBackground Hand' ;
  69. }
  70.  
  71. function out(td)
  72. {
  73.         td.className = 'DarkBackground Hand' ;
  74. }
  75.         </script>
  76. </head>
  77. <body style="overflow: hidden">
  78.         <table cellpadding="2" cellspacing="2" align="center" border="0" width="100%" height="100%">
  79.                 <script type="text/javascript">
  80.  
  81. var FCKConfig = oEditor.FCKConfig ;
  82.  
  83. var sBasePath   = FCKConfig.SmileyPath ;
  84. var aImages             = FCKConfig.SmileyImages ;
  85. var iCols               = FCKConfig.SmileyColumns ;
  86. var iColWidth   = parseInt( 100 / iCols, 10 ) ;
  87.  
  88. var i = 0 ;
  89. while (i < aImages.length)
  90. {
  91.         document.write( '<tr>' ) ;
  92.         for(var j = 0 ; j < iCols ; j++)
  93.         {
  94.                 if (aImages[i])
  95.                 {
  96.                         var sUrl = sBasePath + aImages[i] ;
  97.                         document.write( '<td width="' + iColWidth + '%" align="center" class="DarkBackground Hand" onclick="InsertSmiley(\'' + sUrl.replace(/'/g, "\\'" ) + '\')" onmouseover="over(this)" onmouseout="out(this)">' ) ;
  98.                         document.write( '<img src="' + sUrl + '" border="0" />' ) ;
  99.                 }
  100.                 else
  101.                         document.write( '<td width="' + iColWidth + '%" class="DarkBackground">&nbsp;' ) ;
  102.                 document.write( '<\/td>' ) ;
  103.                 i++ ;
  104.         }
  105.         document.write('<\/tr>') ;
  106. }
  107.  
  108.                 </script>
  109.         </table>
  110. </body>
  111. </html>
  112.  
downloadfck_smiley.html Source code - Download Jie Yang v0.6.3 article system Source code
Related Source Codes/Software:
Jilin classification information release system v5.0 trial version - A ready-made classifieds site publishing system, h... 2016-09-21
Linyi CMS v6.5 market classification information - A. supply and demand information function: informa... 2016-09-21
Tesco discount net SQL version - And presentations, faster. 2016-09-21
- electronic enterprise website management system In a fully functional version - Super suitable for enterprise agents build a corpo... 2016-09-21
Rio mesh network hard disk system v3.0 - System functions: 1, increase the progress of Asp... 2016-09-21
Classified information network business in suzhou - Overall module: classification of supply and deman... 2016-09-21
NPOINT virtual host v1.7.0 formal version management system - The system main function is introduced 2016-09-21
IDC sales web site - Beautiful IDC sales web site source code 2016-09-21
Oo 126 CMS movie site system - This procedure ASP + ACC/ASP + SQL, using new kern... 2016-09-21
Pcook CMS bubble guest v3.0 SDCMS version - Developed by Asp+Access, and meet the needs of sma... 2016-09-21
CRYENGINE - CRYENGINE is a powerful real-time game development... 2017-06-11
postal - 2017-06-11
reactide - Reactide is the first dedicated IDE for React web ... 2017-06-11
rkt - rkt is a pod-native container engine for Linux. It... 2017-06-11
uWebSockets - Tiny WebSockets https://for... 2017-06-11
realworld - TodoMVC for the RealWorld - Exemplary fullstack Me... 2017-06-11
goreplay - GoReplay is an open-source tool for capturing and ... 2017-06-10
pyenv - Simple Python version management 2017-06-10
redux-saga - An alternative side effect model for Redux apps ... 2017-06-10
angular-starter - 2017-06-10

 Back to top