基本 Basic
F
a
d
e
i
n
I
m
g
$('#boxset').randomFadeIn(); <div id="boxset"> <div><p>F</p></div> <div><p>a</p></div> <div><p>d</p></div> <div><p>e</p></div> <div><p>i</p></div> <div><p>n</p></div> <div><p>I</p></div> <div><p>m</p></div> <div><p>g</p></div> </div>
表示間隔を指定する Setting a duration
You can set a duration by the first argument.
You can use same parameters for jQuery "fadeIn()".
第1引数で表示間隔を指定できます。
jQueryの"fadeIn()"で指定する値をそのまま使えます。
$('#boxset2').randomFadeIn('slow');
繰り返しをさせない Do not repeat
You can control with the second argument whether it is repeated.
第2引数でフェードインの繰り返しを指定できます。
"true"なら繰り返し、"false"なら繰り返しません。
デフォルトでは繰り返します。
F
a
d
e
i
n
I
m
g
$('#boxset3').randomFadeIn(500, false);