BVB Source Codes

Easy website system v2.0 Show fck_radiobutton.html Source code

Return Download Easy website system v2.0: download fck_radiobutton.html Source code - Download Easy website system v2.0 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-2009 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. * Radio Button dialog window.
  23. -->
  24. <html>
  25.         <head>
  26.                 <title>Radio Button Properties</title>
  27.                 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  28.                 <meta content="noindex, nofollow" name="robots">
  29.                 <script src="common/fck_dialog_common.js" type="text/javascript"></script>
  30.                 <script type="text/javascript">
  31.  
  32. var dialog      = window.parent ;
  33. var oEditor = dialog.InnerDialogLoaded() ;
  34.  
  35. // Gets the document DOM
  36. var oDOM = oEditor.FCK.EditorDocument ;
  37.  
  38. var oActiveEl = dialog.Selection.GetSelectedElement() ;
  39.  
  40. window.onload = function()
  41. {
  42.         // First of all, translate the dialog box texts
  43.         oEditor.FCKLanguageManager.TranslatePage(document) ;
  44.  
  45.         if ( oActiveEl && oActiveEl.tagName.toUpperCase() == 'INPUT' && oActiveEl.type == 'radio' )
  46.         {
  47.                 GetE('txtName').value           = oActiveEl.name ;
  48.                 GetE('txtValue').value          = oEditor.FCKBrowserInfo.IsIE ? oActiveEl.value : GetAttribute( oActiveEl, 'value' ) ;
  49.                 GetE('txtSelected').checked     = oActiveEl.checked ;
  50.         }
  51.         else
  52.                 oActiveEl = null ;
  53.  
  54.         dialog.SetOkButton( true ) ;
  55.         dialog.SetAutoSize( true ) ;
  56.         SelectField( 'txtName' ) ;
  57. }
  58.  
  59. function Ok()
  60. {
  61.         oEditor.FCKUndo.SaveUndoStep() ;
  62.  
  63.         oActiveEl = CreateNamedElement( oEditor, oActiveEl, 'INPUT', {name: GetE('txtName').value, type: 'radio' } ) ;
  64.  
  65.         if ( oEditor.FCKBrowserInfo.IsIE )
  66.                 oActiveEl.value = GetE('txtValue').value ;
  67.         else
  68.                 SetAttribute( oActiveEl, 'value', GetE('txtValue').value ) ;
  69.  
  70.         var bIsChecked = GetE('txtSelected').checked ;
  71.         SetAttribute( oActiveEl, 'checked', bIsChecked ? 'checked' : null ) ;   // For Firefox
  72.         oActiveEl.checked = bIsChecked ;
  73.  
  74.         return true ;
  75. }
  76.  
  77.                 </script>
  78.         </head>
  79.         <body style="OVERFLOW: hidden" scroll="no">
  80.                 <table height="100%" width="100%">
  81.                         <tr>
  82.                                 <td align="center">
  83.                                         <table border="0" cellpadding="0" cellspacing="0" width="80%">
  84.                                                 <tr>
  85.                                                         <td>
  86.                                                                 <span fckLang="DlgCheckboxName">Name</span><br>
  87.                                                                 <input type="text" size="20" id="txtName" style="WIDTH: 100%">
  88.                                                         </td>
  89.                                                 </tr>
  90.                                                 <tr>
  91.                                                         <td>
  92.                                                                 <span fckLang="DlgCheckboxValue">Value</span><br>
  93.                                                                 <input type="text" size="20" id="txtValue" style="WIDTH: 100%">
  94.                                                         </td>
  95.                                                 </tr>
  96.                                                 <tr>
  97.                                                         <td><input type="checkbox" id="txtSelected"><label for="txtSelected" fckLang="DlgCheckboxSelected">Checked</label></td>
  98.                                                 </tr>
  99.                                         </table>
  100.                                 </td>
  101.                         </tr>
  102.                 </table>
  103.         </body>
  104. </html>
  105.  
downloadfck_radiobutton.html Source code - Download Easy website system v2.0 Source code
Related Source Codes/Software:
Good business mall v2.0 open source edition - Good business, open source shopping mall, which is... 2016-10-23
Desert arashi v0.1.2 file operations procedures - Desert arashi file operations procedures is a simp... 2016-10-23
Ali cloud storage v1.1 PHP file upload system root directory - Aliyun stored SWFUPLOAD a simple file upload syste... 2016-10-23
Qr code generation V1.1 online - Directions for use: 2016-10-23
Short url program V1.2 (with black and white list function) - This short url program has three features: 2016-10-22
Emlog for SAE v4.2.1 - Emlog for SAE is suitable for SAE emlog used modif... 2016-10-23
Food science and technology chain edition v1.1 online reservation system - Treat chain version of the main functions of the o... 2016-10-23
MyProber PHP 0.26 a probe - MyProber v0.26 2016-10-23
Project management software KisProject v1.0.3 - Kis (Keep it simple) is a free WEB-based team coll... 2016-10-23
HP fetion automatic daily weather forecast v1.0 - HP fetion daily automated weather main uses 1. ac... 2016-10-23
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