escrollup A wrapper for jQuery ScrollUp plugin

  1. Requirements
  2. Installation
  3. Usage
  4. Resources

A wrapper for jQuery ScrollUp plugin

Requirements

Tested with Yii 1.1.12 and 1.1.14

Installation

Extract the file under protected/extensions folder.

Usage

  • Default Usage
$this->widget('application.extensions.escrollup.EScrollUp');
  • Usage with theme parameter
$this->widget('application.extensions.escrollup.EScrollUp', array(
    'theme' => 'pill' // pill, link, image, tab
));
  • Usage with default optional parameters
$this->widget('application.extensions.escrollup.EScrollUp', array(
    'options' => array(
        'scrollName' => 'scrollUp', // Element ID
        'topDistance' => '300', // Distance from top before showing element (px)
        'topSpeed' => 300, // Speed back to top (ms)
        'animation' => 'fade', // Fade, slide, none
        'animationInSpeed' => 200, // Animation in speed (ms)
        'animationOutSpeed' => 200, // Animation out speed (ms)
        'scrollText' => 'Scroll to top', // Text for element
        'activeOverlay' => false, // Set CSS color to display scrollUp active point, e.g '#00FFFF'
    )
));

Resources

4 0
8 followers
222 downloads
Yii Version: Unknown
License: BSD-2-Clause
Category: User Interface
Developed by: Ibrar Turi
Created on: Feb 14, 2014
Last updated: 10 years ago

Downloads

show all

Related Extensions