thomascube
2011-04-20 a9251be2f09fb5f18a85d201c67668c70980efe3
program/js/tiny_mce/themes/advanced/color_picker.htm
@@ -6,13 +6,14 @@
   <script type="text/javascript" src="../../utils/mctabs.js"></script>
   <script type="text/javascript" src="js/color_picker.js"></script>
</head>
<body id="colorpicker" style="display: none">
<body id="colorpicker" style="display: none" role="application" aria-labelledby="app_label">
   <span class="mceVoiceLabel" id="app_label" style="display:none;">{#advanced_dlg.colorpicker_title}</span>
<form onsubmit="insertAction();return false" action="#">
   <div class="tabs">
      <ul>
         <li id="picker_tab" class="current"><span><a href="javascript:mcTabs.displayTab('picker_tab','picker_panel');" onmousedown="return false;">{#advanced_dlg.colorpicker_picker_tab}</a></span></li>
         <li id="rgb_tab"><span><a href="javascript:;" onclick="generateWebColors();mcTabs.displayTab('rgb_tab','rgb_panel');" onmousedown="return false;">{#advanced_dlg.colorpicker_palette_tab}</a></span></li>
         <li id="named_tab"><span><a  href="javascript:;" onclick="generateNamedColors();javascript:mcTabs.displayTab('named_tab','named_panel');" onmousedown="return false;">{#advanced_dlg.colorpicker_named_tab}</a></span></li>
         <li id="picker_tab" aria-controls="picker_panel" class="current"><span><a href="javascript:mcTabs.displayTab('picker_tab','picker_panel');" onmousedown="return false;">{#advanced_dlg.colorpicker_picker_tab}</a></span></li>
         <li id="rgb_tab" aria-controls="rgb_panel"><span><a href="javascript:;" onclick="mcTabs.displayTab('rgb_tab','rgb_panel');" onmousedown="return false;">{#advanced_dlg.colorpicker_palette_tab}</a></span></li>
         <li id="named_tab" aria-controls="named_panel"><span><a  href="javascript:;" onclick="javascript:mcTabs.displayTab('named_tab','named_panel');" onmousedown="return false;">{#advanced_dlg.colorpicker_named_tab}</a></span></li>
      </ul>
   </div>
@@ -34,7 +35,7 @@
      <div id="rgb_panel" class="panel">
         <fieldset>
            <legend>{#advanced_dlg.colorpicker_palette_title}</legend>
            <legend id="webcolors_title">{#advanced_dlg.colorpicker_palette_title}</legend>
            <div id="webcolors">
               <!-- Gets filled with web safe colors-->
            </div>
@@ -44,9 +45,9 @@
      </div>
      <div id="named_panel" class="panel">
         <fieldset>
            <legend>{#advanced_dlg.colorpicker_named_title}</legend>
            <div id="namedcolors">
         <fieldset id="named_picker_label">
            <legend id="named_title">{#advanced_dlg.colorpicker_named_title}</legend>
            <div id="namedcolors" role="listbox" tabindex="0" aria-labelledby="named_picker_label">
               <!-- Gets filled with named colors-->
            </div>
@@ -65,7 +66,7 @@
      <div id="preview"></div>
      <div id="previewblock">
         <label for="color">{#advanced_dlg.colorpicker_color}</label> <input id="color" type="text" size="8" maxlength="8" class="text mceFocus" />
         <label for="color">{#advanced_dlg.colorpicker_color}</label> <input id="color" type="text" size="8" class="text mceFocus" aria-required="true" />
      </div>
   </div>
</form>