Lakukan langkah-langkah berikut:
- Copy template "Hide and Show Region".
- Beri nama baru "Hide and Show Region 2".
- Lakukan perubahan berikut :
- Template Asli :
- Template Setelah Perubahan :
- Gunakan dalam aplikasi contoh disini
<div class="hide-show-region" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES#> <div class="hide-show-top"> <div class="hide-show-title"><a href="javascript:hideShow('region#REGION_SEQUENCE_ID#','shIMG#REGION_SEQUENCE_ID#','#IMAGE_PREFIX#themes/theme_21/images/right_arrow.png','#IMAGE_PREFIX#themes/theme_21/images/down_arrow.png');" class="t1HideandShowRegionLink"><img src="#IMAGE_PREFIX#themes/theme_21/images/right_arrow.png" id="shIMG#REGION_SEQUENCE_ID#" alt="" /></a> #TITLE#</div> <div class="hide-show-buttons">#CLOSE##PREVIOUS##NEXT##DELETE##EDIT##CHANGE##CREATE##CREATE2##EXPAND##COPY##HELP#</div> </div> <div class="hide" id="region#REGION_SEQUENCE_ID#" style="float:left;">#BODY#</div> </div>
<div class="hide-show-region" id="#REGION_STATIC_ID#" #REGION_ATTRIBUTES#> <div class="hide-show-top"> <div class="hide-show-title"><a href="javascript:hideShow('region#REGION_SEQUENCE_ID#','shIMG#REGION_SEQUENCE_ID#','#IMAGE_PREFIX#themes/theme_21/images/right_arrow.png','#IMAGE_PREFIX#themes/theme_21/images/down_arrow.png');" class="t1HideandShowRegionLink"><img src="#IMAGE_PREFIX#themes/theme_21/images/down_arrow.png" id="shIMG#REGION_SEQUENCE_ID#" alt="" /></a> #TITLE#</div> <div class="hide-show-buttons">#CLOSE##PREVIOUS##NEXT##DELETE##EDIT##CHANGE##CREATE##CREATE2##EXPAND##COPY##HELP#</div> </div> <div class="show" id="region#REGION_SEQUENCE_ID#" style="clear:both;display:block;">#BODY#</div> </div>
Tidak ada komentar :
Posting Komentar