html2プラグインエラー: このプラグインを使うにはこのページの編集権限を「管理者のみ」に設定してください。
It is JavaScript which imitated the effect of familiarity.
Arbitrary character strings can be displayed.
Arbitrary character strings can be displayed.
How to use
Please write the following code to HTML.
<script language="JavaScript" src="http://www13.atwiki.jp/cod4mod/pub/effect1.js"></script> <div id="net_codmod_effect1" style="visibility:hidden">Write a strings here.<br/>Only a br tag can be included.</div> <script language="JavaScript">net_codmod_effect1_exec("net_codmod_effect1",3000,-1,1000);</script>
Any tags other than <br/> cannot be included in strings.
Please specify a font etc. by a style property or CSS. The monospaced font containing a Greek character is recommended.
Please specify a font etc. by a style property or CSS. The monospaced font containing a Greek character is recommended.
How to use #2
Since InnerHTML is rewritten an early periodicity, it may become slow if it embeds to a complicated page.
In that case, please prepare simple HTML containing the above-mentioned code, indicate by an in-line frame, and avoid.
In that case, please prepare simple HTML containing the above-mentioned code, indicate by an in-line frame, and avoid.
Example:
a) Simple HTML for an in-line frame (inline.html)
a) Simple HTML for an in-line frame (inline.html)
<html> <head> <meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"/> <meta HTTP-EQUIV="Content-Script-Type" CONTENT="text/javascript"/> <script language="JavaScript" src="http://www13.atwiki.jp/cod4mod/pub/effect1.js"></script> </head> <body> <div id="net_codmod_effect1" style="visibility:hidden">Test</div> <script language="JavaScript">net_codmod_effect1_exec("net_codmod_effect1",3000,-1,1000);</script> </body> </html>
b) Main HTML (Part; A code for inline.html to be included)
<iframe src="./inline.html" scrolling="no" frameborder="0"></iframe>
Option
An argument is specified and an operation can be changed.
net_codmod_effect1_exec(id, time, repeat, delay)
- id
- It is id of the tag containing strings.
- time
- It is display time (ms). It will not disappear, if 0 is specified.
- repeat
- It is a numbers of times of a repetition of a display. If 1 is specified, it will repeat infinitely. In the case of time=0, it is not meaningful.
- delay
- It is the latency time to a display (ms).
Download
If you would like to put JavaScript on your site directly, please download from here.
Confirmed browser
IE6, IE7, FireFox2, Opera9 and Safari3 (WindowsXP SP2)
(This article was created using translation software. Please pardon what it is hard to read.)