Line # Revision Author
1 3 ahitrov@rambler.ru <script LANGUAGE="JavaScript"><!--
2
3 function li()
4 {
5 document.form.<% $name %>.focus();
6 sel = document.selection.createRange();
7 s= "<ul>\n"+sel.text;
8 re = /\n/g;
9 s = s.replace(re, "\n<li>");
10 s=s+"\n</ul>"
11 sel.text= s;
12 }
13
14
15 function insertTags( TagOpen, TagClose )
16 {
17 document.form.<% $name %>.focus();
18 selectArea = document.selection.createRange();
19 selectArea.text= TagOpen + selectArea.text + TagClose;
20 }
21
22 // --->
23 </script>
24
25 121 ahitrov <table border="0" width="95%" style="font-size:11px; font-weight:; font-family:Tahoma;background-color:#dcdcdc;color:#000000;">
26 3 ahitrov@rambler.ru <tr><td>
27 ������� �����:<br>
28 &nbsp;&nbsp;<a style="color:#000000" href="javascript: insertTags('<br>','')" title="������� ������">&lt;br&gt;</a>&nbsp;&nbsp;
29 <a style="color:#000000" href="javascript: insertTags('<p>','')" title="�����">&lt;p&gt;</a>&nbsp;&nbsp;
30
31 <a style="color:#000000" href="javascript: insertTags('<b>','</b>')" title="���������� �����">&lt;b&gt;</a>&nbsp;&nbsp;
32 <a style="color:#000000" href="javascript: insertTags('<i>','</i>')" title="������">&lt;i&gt;</a>&nbsp;&nbsp;
33 <a style="color:#000000" href="javascript: insertTags('<u>','</u>')" title="�������������">&lt;u&gt;</a>&nbsp;&nbsp;
34
35 <a style="color:#000000" href="javascript: insertTags('<h2>','</h2>')" title="��������� h2">&lt;h2&gt;</a>&nbsp;&nbsp;
36 <a style="color:#000000" href="javascript: insertTags('<h3>','</h3>')" title="��������� h2">&lt;h3&gt;</a>&nbsp;&nbsp;
37 <a style="color:#000000" href="javascript: insertTags('<h4>','</h4>')" title="��������� h2">&lt;h4&gt;</a>&nbsp;&nbsp;
38
39 <a style="color:#000000" href="javascript: insertTags('<a href=>','</a>')" title="������">&lt;a href&gt;</a>&nbsp;&nbsp;
40 <a style="color:#000000" href="javascript: insertTags('<div align=center>','</div>')" title="">&lt;div center&gt;</a>&nbsp;&nbsp;
41 <a style="color:#000000" href="javascript: insertTags('<ul>','</ul>')" title="������">&lt;ul&gt;</a>&nbsp;&nbsp;
42 <a style="color:#000000" href="javascript: insertTags('<li>','')" title="������� ������">&lt;li&gt;</a>&nbsp;&nbsp;
43 <a style="color:#000000" href="javascript: insertTags('<blockquote>','</blockquote>')" title="������">&lt;blockquote&gt;</a>&nbsp;&nbsp;
44 <a style="color:#000000" href="javascript: insertTags('<code>','</code>')" title="������ ����">&lt;code&gt;</a>
45 </td><td align="right" valign="bottom">
46 <a style="color:#000000" href="javascript: li()" title="�������� ������(ul-li)">�������� ������</a>&nbsp;&nbsp;
47 </td></tr></table>
48 127 ahitrov <textarea name="<% $name %>" rows="<% $prop->{rows} || 30 %>" cols="60" style="width:95%;font-family:arial;font-size:9pt;"><% $check %></textarea>
49 3 ahitrov@rambler.ru <%args>
50
51 127 ahitrov $name => undef
52 $check => undef
53 $prop => {}
54 3 ahitrov@rambler.ru
55 </%args>