... | in editor_subheaders_button.naml |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118
|
<override_macro name="editor_subheaders_button">
<n.put_in_head.>
<script type="text/javascript">
Nabble.headersDropdown = function() {
Nabble.closeWindows();
$('#headers-dropdown').show();
};
Nabble.jsmbullet = function(vartxt) {
var textarea = Nabble.get(textareaID);
{
this.setSelection( textarea, vartxt );
}
textarea.focus();
};
</script>
</n.put_in_head.>
<td class="has-dropdown">
<div id="headers-dropdown" class="editor-dropdown medium-border-color light-bg-color drop-shadow" style="padding:.5em;width:25em;margin-left:-15em">
<h2><t>Instruction</t></h2>
<t><t.example1.bold text="<html code>YOUR TEXT</html code>"/></t> <br/>
<t> the <t.example2.bold text="TEXT"/> can be selected.</t>
<div style="margin:.5em 0 1em;">
<t>Headers</t>
<button type="button" class="toolbar" onclick="Nabble.insert('h2')"><t>H2</t></button>
<button type="button" class="toolbar" onclick="Nabble.insert('h3')"><t>H3</t></button>
<button type="button" class="toolbar" onclick="Nabble.insert('h4')"><t>H4</t></button>
<button type="button" class="toolbar" onclick="Nabble.insert('h5')"><t>H5</t></button>
<button type="button" class="toolbar" onclick="Nabble.insert('h6')"><t>H6</t></button>
</div>
<div style="margin:.5em 0 1em;">
<t>Alignment</t>
<button type="button" onclick="Nabble.insert('span style=display:block;text-align:left')" class="toolbar" style="height:1.65em" title="[t]Left[/t]">
<img src="http://jsmastronomy.245.s1.nabble.com/file/n590/bt_left.png"/>
</button>
<button type="button" onclick="Nabble.insert('span style=display:block;text-align:center')" class="toolbar" style="height:1.65em" title="[t]Center[/t]">
<img src="http://jsmastronomy.245.s1.nabble.com/file/n590/bt_center.png"/>
</button>
<button type="button" onclick="Nabble.insert('span style=display:block;text-align:right')" class="toolbar" style="height:1.65em" title="[t]Right[/t]">
<img src="http://jsmastronomy.245.s1.nabble.com/file/n590/bt_right.png"/>
</button>
<button type="button" onclick="Nabble.insert('span style=display:block;text-align:justify')" class="toolbar" style="height:1.65em" title="[t]Justify[/t]">
<img src="http://jsmastronomy.245.s1.nabble.com/file/n590/bt_justify.png"/>
</button>
<button type="button" onclick="Nabble.jsmbullet(' ');Nabble.closeWindows()" class="toolbar bold" style="height:1.65em" title="[t]Indent/TAB[/t]">
<img src="http://jsmastronomy.245.s1.nabble.com/file/n590/bt_indenta.png"/>
</button>
</div>
<div style="margin:.5em 0 1em;">
<t>Font Size</t>
<button type="button" onclick="Nabble.insert('font size=-2')" class="toolbar bold" style="height:1.65em" title="[t]Small[/t]">
<img src="http://jsmastronomy.245.s1.nabble.com/file/n590/bt_fontPeq.png"/>
</button>
<button type="button" onclick="Nabble.insert('font size=+1')" class="toolbar bold" style="height:1.65em" title="[t]Big[/t]">
<img src="http://jsmastronomy.245.s1.nabble.com/file/n590/bt_fontMaior.png"/>
</button>
</div>
<div style="margin:.5em 0 1em;">
<t>Special</t>
<button type="button" onclick="Nabble.insert('span style="vertical-align:sub; font-size:.7em"')" class="toolbar bold" style="height:1.65em" title="[t]Position Sub[/t]">
<img src="http://jsmastronomy.245.s1.nabble.com/file/n590/bt_fontSub.png"/>
</button>
<button type="button" onclick="Nabble.insert('span style="vertical-align:super; font-size:.7em"')" class="toolbar bold" style="height:1.65em" title="[t]Position Sup[/t]">
<img src="http://jsmastronomy.245.s1.nabble.com/file/n590/bt_fontSup.png"/>
</button>
<button type="button" onclick="Nabble.insert('quote author="Alguém"')" class="toolbar bold" style="height:1.65em" title="[t]Quote Text[/t]">Quote Text
</button>
<button type="button" onclick="Nabble.jsmbullet('Newtonian Reflector Telescope 305 mm F/5 - CMOS Mono Camera - LRGB Filters - Coma Corrector');Nabble.closeWindows()" class="toolbar bold" style="height:1.65em" title="[t]AstroEquip[/t]"> AstroEquipos
</button>
</div>
<div style="margin:.5em 0 1em;">
<t>Insert</t>
<button type="button" onclick="Nabble.jsmbullet('•');Nabble.closeWindows()" class="toolbar bold" style="height:1.65em" title="[t]Bullet[/t]">
•
</button>
<button type="button" onclick="Nabble.jsmbullet('©');Nabble.closeWindows()" class="toolbar bold" style="height:1.65em" title="[t]Copyright[/t]">
©
</button>
<button type="button" onclick="Nabble.jsmbullet('®');Nabble.closeWindows()" class="toolbar bold" style="height:1.65em" title="[t]Registrado[/t]">
®
</button>
<button type="button" onclick="Nabble.jsmbullet('µ');Nabble.closeWindows()" class="toolbar bold" style="height:1.65em" title="[t]Micro[/t]">
µ
</button>
<button type="button" onclick="Nabble.jsmbullet('<' + 'img src=' + " 'http://jsmastronomy.245.s1.nabble.com/file/n590/pi8.png' " + '/' + '>');Nabble.closeWindows()" class="toolbar bold" style="height:1.65em" title="[t]Pi[/t]">
<img src="http://jsmastronomy.245.s1.nabble.com/file/n590/pi8.png"/>
</button>
<button type="button" onclick="Nabble.jsmbullet('№');Nabble.closeWindows()" class="toolbar bold" style="height:1.65em" title="[t]No.[/t]">
№
</button>
<button type="button" onclick="Nabble.jsmbullet('←');Nabble.closeWindows()" class="toolbar bold" style="height:1.65em" title="[t]Left Arow[/t]">
←
</button>
<button type="button" onclick="Nabble.jsmbullet('→');Nabble.closeWindows()" class="toolbar bold" style="height:1.65em" title="[t]Right Arow[/t]">
→
</button>
<button type="button" onclick="Nabble.jsmbullet('º');Nabble.closeWindows()" class="toolbar bold" style="height:1.65em" title="[t]Degree[/t]">
º
</button>
<button type="button" onclick="Nabble.jsmbullet('ª');Nabble.closeWindows()" class="toolbar bold" style="height:1.65em" title="[t]First[/t]">
ª
</button>
<button type="button" onclick="Nabble.jsmbullet('±');Nabble.closeWindows()" class="toolbar bold" style="height:1.65em" title="[t]+ou-[/t]">
±
</button>
<button type="button" onclick="Nabble.jsmbullet('≠');Nabble.closeWindows()" class="toolbar bold" style="height:1.65em" title="[t]different[/t]">
≠
</button>
</div>
</div>
<button type="button" class="toolbar" onclick="Nabble.headersDropdown()">
<t>Text Format</t><img src="/images/more.png" width="10" height="10"/>
</button>
</td>
</override_macro>
|
... | in text_editor.naml |
291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318
|
<macro name="editor_subheaders_button">
<n.put_in_head.>
<script type="text/javascript">
Nabble.headersDropdown = function() {
Nabble.closeWindows();
$('#headers-dropdown').show();
};
</script>
</n.put_in_head.>
<td class="has-dropdown">
<div id="headers-dropdown" class="editor-dropdown medium-border-color light-bg-color drop-shadow" style="padding:.5em;width:25em;margin-left:-15em">
<h2><t>Adding Sub-Headers</t></h2>
<t>Use tags like <t.example1.bold text="<h2>...</h2>"/> or <t.example2.bold text="<h3>...</h3>"/> to create sub-headers.</t>
<div style="margin:.5em 0 1em;">
<t>Insert</t>
<button type="button" class="toolbar" onclick="Nabble.insert('h2')"><t>H2</t></button>
<button type="button" class="toolbar" onclick="Nabble.insert('h3')"><t>H3</t></button>
<button type="button" class="toolbar" onclick="Nabble.insert('h4')"><t>H4</t></button>
<button type="button" class="toolbar" onclick="Nabble.insert('h5')"><t>H5</t></button>
<button type="button" class="toolbar" onclick="Nabble.insert('h6')"><t>H6</t></button>
</div>
</div>
<button type="button" class="toolbar" onclick="Nabble.headersDropdown()">
<t>H2</t><img src="/images/more.png" width="10" height="10"/>
</button>
</td>
</macro>
|
Free forum by Nabble | Nabble® |