top-bottom-scrolling Scrolling to the top and to the bottom of the page..

  1. Usage
  2. Change Log

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, // ('opacity' = 0 vs. 'opacity' != 0 => different behavior)
        '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...
1 0
7 followers
620 downloads
Yii Version: 1.1
License: BSD-2-Clause
Category: Others
Developed by: firefly
Created on: Mar 19, 2013
Last updated: 4 years ago

Downloads

show all

Related Extensions