[WordPress] 光画部らり使い方
2010.02.06 08:36
テンプレートタグ
<?php kougaburari($width = 160, $height = 160, $count = 10, $fx = 'fade', $timeout = 4000, $speed = 1000) ?>
$width : 画像の最大幅
$height : 画像の最大高さ
$count : 表示枚数
$fx : 効果 (設定できる値は後述)
$timeout : 一枚の画像を表示する時間 (ミリ秒)
$speed : 効果を表示する時間 (ミリ秒)
ショートコード
[kougaburari width=160 height=160 count=10 fx=fade timeout=4000 speed=1000]
width : 画像の最大幅
height : 画像の最大高さ
count : 表示枚数
fx : 効果 (設定できる値は後述)
timeout : 一枚の画像を表示する時間 (ミリ秒)
speed : 効果を表示する時間 (ミリ秒)
効果に指定できる値
- 'blindX'
- 'blindY'
- 'blindZ'
- 'cover'
- 'curtainX'
- 'curtainY'
- 'fade'
- 'fadeZoom'
- 'growX'
- 'growY'
- 'none'
- 'scrollUp'
- 'scrollDown'
- 'scrollLeft'
- 'scrollRight'
- 'scrollHorz'
- 'scrollVert'
- 'shuffle'
- 'slideX'
- 'slideY'
- 'toss'
- 'turnUp'
- 'turnDown'
- 'turnLeft'
- 'turnRight'
- 'uncover'
- 'wipe'
- 'zoom'
- 'all'
posted by wokamoto1973
http://quill.to/wokamoto1973/8573c74b04
