This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use Stack Overflow.

Problem with "visual_effect"

Forum to discuss ExtJS and other JS plugins

Problem with "visual_effect"

by neon_fd » Fri May 15, 2009 8:15 pm


I use to links to show and hide a div.

Code: Select all
<?php echo link_to_function('Show more', visual_effect('blind_down', 'filter', array('duration' => 0.5)), array('class'   => 'reiterLink2')) ?>

<?php echo link_to_function('Hide', visual_effect('blind_up', 'filter', array('duration' => 0.5)), array('class'   => 'reiterLink2')) ?>

It is possible to use only one link? Such as an user click an the link and if the div is hide, the div will be shown and when the div is visible, than it will be hide.

I don't know how to solve the problem. hope that someone can help me.

Senior Member
Posts: 123
Joined: Tue Jun 10, 2008 1:08 pm