author | Dan |
Thu, 27 Dec 2007 22:09:33 -0500 | |
changeset 335 | 67bd3121a12e |
parent 1 | fe660c52c48f |
child 543 | dffcbfbc4e59 |
permissions | -rw-r--r-- |
335
67bd3121a12e
Replaced TinyMCE 2.x with 3.0 beta 3. Supports everything but IE. Also rewrote the editor interface completely from the ground up.
Dan
parents:
1
diff
changeset
|
1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
1 | 2 |
<html xmlns="http://www.w3.org/1999/xhtml"> |
3 |
<head> |
|
335
67bd3121a12e
Replaced TinyMCE 2.x with 3.0 beta 3. Supports everything but IE. Also rewrote the editor interface completely from the ground up.
Dan
parents:
1
diff
changeset
|
4 |
<title>{#advanced_dlg.colorpicker_title}</title> |
67bd3121a12e
Replaced TinyMCE 2.x with 3.0 beta 3. Supports everything but IE. Also rewrote the editor interface completely from the ground up.
Dan
parents:
1
diff
changeset
|
5 |
<script type="text/javascript" src="../../tiny_mce_popup.js"></script> |
67bd3121a12e
Replaced TinyMCE 2.x with 3.0 beta 3. Supports everything but IE. Also rewrote the editor interface completely from the ground up.
Dan
parents:
1
diff
changeset
|
6 |
<script type="text/javascript" src="../../utils/mctabs.js"></script> |
67bd3121a12e
Replaced TinyMCE 2.x with 3.0 beta 3. Supports everything but IE. Also rewrote the editor interface completely from the ground up.
Dan
parents:
1
diff
changeset
|
7 |
<script type="text/javascript" src="js/color_picker.js"></script> |
1 | 8 |
<base target="_self" /> |
9 |
</head> |
|
335
67bd3121a12e
Replaced TinyMCE 2.x with 3.0 beta 3. Supports everything but IE. Also rewrote the editor interface completely from the ground up.
Dan
parents:
1
diff
changeset
|
10 |
<body id="colorpicker" style="display: none"> |
1 | 11 |
<div class="tabs"> |
12 |
<ul> |
|
335
67bd3121a12e
Replaced TinyMCE 2.x with 3.0 beta 3. Supports everything but IE. Also rewrote the editor interface completely from the ground up.
Dan
parents:
1
diff
changeset
|
13 |
<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> |
67bd3121a12e
Replaced TinyMCE 2.x with 3.0 beta 3. Supports everything but IE. Also rewrote the editor interface completely from the ground up.
Dan
parents:
1
diff
changeset
|
14 |
<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> |
67bd3121a12e
Replaced TinyMCE 2.x with 3.0 beta 3. Supports everything but IE. Also rewrote the editor interface completely from the ground up.
Dan
parents:
1
diff
changeset
|
15 |
<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> |
1 | 16 |
</ul> |
17 |
</div> |
|
18 |
||
19 |
<div class="panel_wrapper"> |
|
20 |
<div id="picker_panel" class="panel current"> |
|
21 |
<fieldset> |
|
335
67bd3121a12e
Replaced TinyMCE 2.x with 3.0 beta 3. Supports everything but IE. Also rewrote the editor interface completely from the ground up.
Dan
parents:
1
diff
changeset
|
22 |
<legend>{#advanced_dlg.colorpicker_picker_title}</legend> |
1 | 23 |
<div id="picker"> |
335
67bd3121a12e
Replaced TinyMCE 2.x with 3.0 beta 3. Supports everything but IE. Also rewrote the editor interface completely from the ground up.
Dan
parents:
1
diff
changeset
|
24 |
<img id="colors" src="img/colorpicker.jpg" onclick="computeColor(event)" onmousedown="isMouseDown = true;return false;" onmouseup="isMouseDown = false;" onmousemove="if (isMouseDown && isMouseOver) computeColor(event); return false;" onmouseover="isMouseOver=true;" onmouseout="isMouseOver=false;" /> |
1 | 25 |
|
26 |
<div id="light"> |
|
27 |
<!-- Will be filled with divs --> |
|
28 |
</div> |
|
29 |
||
30 |
<br style="clear: both" /> |
|
31 |
</div> |
|
32 |
</fieldset> |
|
33 |
</div> |
|
34 |
||
35 |
<div id="rgb_panel" class="panel"> |
|
36 |
<fieldset> |
|
335
67bd3121a12e
Replaced TinyMCE 2.x with 3.0 beta 3. Supports everything but IE. Also rewrote the editor interface completely from the ground up.
Dan
parents:
1
diff
changeset
|
37 |
<legend>{#advanced_dlg.colorpicker_palette_title}</legend> |
1 | 38 |
<div id="webcolors"> |
39 |
<!-- Gets filled with web safe colors--> |
|
40 |
</div> |
|
41 |
||
42 |
<br style="clear: both" /> |
|
43 |
</fieldset> |
|
44 |
</div> |
|
45 |
||
46 |
<div id="named_panel" class="panel"> |
|
47 |
<fieldset> |
|
335
67bd3121a12e
Replaced TinyMCE 2.x with 3.0 beta 3. Supports everything but IE. Also rewrote the editor interface completely from the ground up.
Dan
parents:
1
diff
changeset
|
48 |
<legend>{#advanced_dlg.colorpicker_named_title}</legend> |
1 | 49 |
<div id="namedcolors"> |
50 |
<!-- Gets filled with named colors--> |
|
51 |
</div> |
|
52 |
||
53 |
<br style="clear: both" /> |
|
54 |
||
55 |
<div id="colornamecontainer"> |
|
335
67bd3121a12e
Replaced TinyMCE 2.x with 3.0 beta 3. Supports everything but IE. Also rewrote the editor interface completely from the ground up.
Dan
parents:
1
diff
changeset
|
56 |
{#advanced_dlg.colorpicker_name} <span id="colorname"></span> |
1 | 57 |
</div> |
58 |
</fieldset> |
|
59 |
</div> |
|
60 |
</div> |
|
61 |
||
62 |
<div class="mceActionPanel"> |
|
63 |
<div style="float: left"> |
|
335
67bd3121a12e
Replaced TinyMCE 2.x with 3.0 beta 3. Supports everything but IE. Also rewrote the editor interface completely from the ground up.
Dan
parents:
1
diff
changeset
|
64 |
<input type="button" id="insert" name="insert" value="{#apply}" onclick="insertAction();" /> |
1 | 65 |
</div> |
66 |
||
67 |
<div id="preview"></div> |
|
68 |
||
69 |
<div id="previewblock"> |
|
335
67bd3121a12e
Replaced TinyMCE 2.x with 3.0 beta 3. Supports everything but IE. Also rewrote the editor interface completely from the ground up.
Dan
parents:
1
diff
changeset
|
70 |
<label for="color">{#advanced_dlg.colorpicker_color}</label> <input id="color" type="text" size="8" maxlength="8" class="text" /> |
1 | 71 |
</div> |
72 |
</div> |
|
73 |
</body> |
|
74 |
</html> |