author | Dan |
Sat, 12 Dec 2009 15:39:36 -0500 | |
changeset 1158 | e733f984c990 |
parent 543 | dffcbfbc4e59 |
child 1193 | e3b94bd055dc |
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"> |
543 | 11 |
<form onsubmit="insertAction();return false" action="#"> |
1 | 12 |
<div class="tabs"> |
13 |
<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
|
14 |
<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
|
15 |
<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
|
16 |
<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 | 17 |
</ul> |
18 |
</div> |
|
19 |
||
20 |
<div class="panel_wrapper"> |
|
21 |
<div id="picker_panel" class="panel current"> |
|
22 |
<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
|
23 |
<legend>{#advanced_dlg.colorpicker_picker_title}</legend> |
1 | 24 |
<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
|
25 |
<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 | 26 |
|
27 |
<div id="light"> |
|
28 |
<!-- Will be filled with divs --> |
|
29 |
</div> |
|
30 |
||
31 |
<br style="clear: both" /> |
|
32 |
</div> |
|
33 |
</fieldset> |
|
34 |
</div> |
|
35 |
||
36 |
<div id="rgb_panel" class="panel"> |
|
37 |
<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
|
38 |
<legend>{#advanced_dlg.colorpicker_palette_title}</legend> |
1 | 39 |
<div id="webcolors"> |
40 |
<!-- Gets filled with web safe colors--> |
|
41 |
</div> |
|
42 |
||
43 |
<br style="clear: both" /> |
|
44 |
</fieldset> |
|
45 |
</div> |
|
46 |
||
47 |
<div id="named_panel" class="panel"> |
|
48 |
<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
|
49 |
<legend>{#advanced_dlg.colorpicker_named_title}</legend> |
1 | 50 |
<div id="namedcolors"> |
51 |
<!-- Gets filled with named colors--> |
|
52 |
</div> |
|
53 |
||
54 |
<br style="clear: both" /> |
|
55 |
||
56 |
<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
|
57 |
{#advanced_dlg.colorpicker_name} <span id="colorname"></span> |
1 | 58 |
</div> |
59 |
</fieldset> |
|
60 |
</div> |
|
61 |
</div> |
|
62 |
||
63 |
<div class="mceActionPanel"> |
|
64 |
<div style="float: left"> |
|
543 | 65 |
<input type="submit" id="insert" name="insert" value="{#apply}" /> |
1 | 66 |
</div> |
67 |
||
68 |
<div id="preview"></div> |
|
69 |
||
70 |
<div id="previewblock"> |
|
543 | 71 |
<label for="color">{#advanced_dlg.colorpicker_color}</label> <input id="color" type="text" size="8" maxlength="8" class="text mceFocus" /> |
1 | 72 |
</div> |
73 |
</div> |
|
543 | 74 |
</form> |
1 | 75 |
</body> |
76 |
</html> |