restored fixes and tweaks on blog mod
[elgg.git] / _tinymce / docs / option_auto_focus.html
blobed4f7c3f1eb024349d30e135808fe63898f2f46c
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml">
3 <head>
4 <title>Option: auto_focus</title>
5 <link href="css/screen.css" rel="stylesheet" type="text/css" />
6 </head>
7 <body>
9 <div class="header">
10 <h1>Option: auto_focus</h1>
11 </div>
13 <div class="content">
14 <p>
15 This option enables you to auto focus a editor instance. The value of this option should be a editor instance id. Editor instance ids are specified as &quot;mce_editor_&lt;index&gt;&quot; where index is a value starting from 0. So if there are 3 editor instances on a page these would have the following ids mce_editor_0, mce_editor_1 and mce_editor_2.
16 </p>
18 <div class="separator"></div>
20 <h3>Example of usage of the auto_focus option:</h3>
21 <div class="example">
22 <pre>
23 tinyMCE.init({
24 ...
25 <strong>auto_focus : "mce_editor_2"</strong>
26 });
27 </pre>
28 </div>
29 </div>
31 <div class="footer">
32 <div class="helpindexlink"><a href="index.html">Index</a></div>
33 <div class="copyright">Copyright &copy; 2003-2006 <a href="http://www.moxiecode.com">Moxiecode Systems AB</a></div>
34 <br style="clear: both" />
35 </div>
37 </body>
38 </html>