<div><input type="button" value="wipeOut" onclick="wipeOut('subBlogListDiv')"/></div>
<div><input type="button" value="wipeIn" onclick="wipeIn('subBlogListDiv')"/></div>
<div><input type="button" value="fadeOut" onclick="fadeOut('subBlogListDiv')"/></div>
<div><input type="button" value="fadeIn" onclick="fadeIn('subBlogListDiv')"/></div>
<div><input type="button" value="opacity" onclick="opacity('subBlogListDiv')"/></div>
<div><input type="button" value="highlight" onclick="highlight('subBlogListDiv')"/></div>
<div><input type="button" value="explode" onclick="dojo.lfx.explode(this, 'subBlogListDiv', 300).play();"/></div>
<div><input type="button" value="implode" onclick="dojo.lfx.implode( 'subBlogListDiv', this,300).play();"/></div>
<div><input type="button" value="slidTo" onclick="dojo.lfx.html.slideTo(document.getElementById('testM'), [400, 700], 5000).play();"/></div>
<div><input type="button" value="slidBy" onclick="dojo.lfx.html.slideBy(document.getElementById('testM'), [0, 0], 5000).play();"/></div>
<sciprt>
//highlight(高亮度標示)、Wipe(捲起、張開)、Fade(淡出、淡入)、Explode(跳出)、Implode(收回)、Slide(滑動);
function wipeOut(elId){
dojo.lfx.wipeOut(elId, 300).play();
}
function wipeIn(elId) {
dojo.lfx.wipeIn(elId, 300).play();
}
function fadeOut(elId){
dojo.lfx.html.fadeOut(elId, 300).play();
}
function highlight(elId){
dojo.lfx.html.highlight(elId, [255,255,0], 2000, 5000).play();
}
function fadeIn(elId){
dojo.lfx.html.fadeIn(elId, 300).play();
}
function opacity(elId){
dojo.html.setOpacity(elId, 0.5);
}
</script>