backtotop This small widget provide back to top function to your page

This widget wraps BackToTop jquery plugin.

Usage ΒΆ

You can copy widget into extensions folder, such as:


Use it in your view file:

    'text'=>'Back To Top',

List of options for this widgets:

text: String, Default : '^ Back to top' - Text written into the link

autoShow: Boolean, Default : true - Does the link appears during scrolling the page or is always displayed ?

timeEffect: Integer, Default : 500 - Duration (in ms) of the scrolling effect, from the bottom to the top of the page

effectScroll: String, Default : 'linear' - all jQueryUI effects allowed

appearMethod: String, Default : 'slide' - How does the link appear ? Can be set to 'fade', 'slide' or empty

4 0
Yii Version: 1.1
License: BSD-2-Clause
Category: User Interface
Developed by: David T
Created on: Nov 9, 2012
Last updated: 8 years ago


show all

Related Extensions