mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-17 20:21:18 +01:00
17710c20ab
see tinymce.moxiecode.com/ for more info
43 lines
1009 B
HTML
43 lines
1009 B
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html>
|
|
<head>
|
|
<title>Option: oninit</title>
|
|
<link href="css/screen.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
|
|
<div class="header">
|
|
<h1>Option: oninit</h1>
|
|
</div>
|
|
|
|
<div class="content">
|
|
<p>
|
|
This option enables you to specify a function name to be executed when all editor instances has finished it's initialization. This is much like the onload event of a HTML page.
|
|
</p>
|
|
|
|
<div class="separator"></div>
|
|
|
|
<h3>Example of usage of the oninit option:</h3>
|
|
<div class="example">
|
|
<pre>
|
|
function <strong>myCustomOnInit</strong>() {
|
|
alert("We are ready to rumble!!");
|
|
}
|
|
|
|
tinyMCE.init({
|
|
...
|
|
<strong>oninit : "myCustomOnInit"</strong>
|
|
});
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="footer">
|
|
<div class="helpindexlink"><a href="index.html">Index</a></div>
|
|
<div class="copyright">Copyright © 2005 Moxiecode Systems AB</div>
|
|
<br style="clear: both" />
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|