Print two simple buttons on the right/bottom side of the screen, for scrolling to the top or to the bottom of the page.
$this->widget('ext.topBottom.scroll');
or
$this->widget('ext.topBottom.scroll', array( 'minDepth'=>1000, 'minHeight'=>500, 'fadeInTime'=>700, 'fadeOutTime'=>700, 'opacity' => 0.2, // or 'opacity' => 0, 'scrollTopTime'=>1000, 'scrollBottomTime'=>1000, ));
2013-05-31 -opacity property: - if it's between 0 and 1 the buttons will not be hidden, but will fade to this opacity - if it's 0 or bigger then 1 or if it's not present buttons have different behaviours...
Be the first person to leave a comment
Please login to leave your comment.