top-bottom-scrolling

Scrolling to the top and to the bottom of the page..
5 followers

Print two simple buttons on the right/bottom side of the screen, for scrolling to the top or to the bottom of the page.

Usage

$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,
    ));

Change Log

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 to leave your comment.

Create extension