# Visual\_effect check\_box

**URL:** <https://www.ruby-forum.com/t/visual-effect-check-box/125280>\
**Category:** Rails\
**Created:** [January 7, 2008, 8:22pm UTC](https://www.ruby-forum.com/t/visual-effect-check-box/125280 "2008-01-07T20:22:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![spokra](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ba8739/32.png) [@spokra](https://www.ruby-forum.com/u/spokra)\
**Post date:** [January 7, 2008, 8:22pm UTC](https://www.ruby-forum.com/t/visual-effect-check-box/125280/1 "2008-01-07T20:22:57Z")

</div>

Am I even close on how to do this? I’ve googled alot and still can;t  
get this to work

**Monday** \<%= f.check\_box :monday %\> \<%= observe\_field(:monday\_checked, :function =\> visual\_effect('appear', 'monday-div')) %\> \<%= observe\_field(:monday\_unchecked, :function =\> visual\_effect('fade', 'monday-div')) %\>

**Start**  
 \<%= f.time\_select :monday\_start, :twelve\_hour =\> true %\>

**End**  
 \<%= f.time\_select :monday\_end, :twelve\_hour =\> true %\>
