Yii 1.1: another-scrolltop

A jQuery scrolltop script based on the Yii scrolltop extension (http://www.yiiframework.com/extension/scrolltop)
11 followers

This extension shows a fixed up arrow at the bottom right of the page when the page scroll value is higher than the 'fadeTransitionStart' provided value.

Install

Unzip the source in your extension folder.

Usage

$this->widget('ext.scrolltop.ScrollTop', array(
    //Default values
    'fadeTransitionStart'=>10,
    'fadeTransitionEnd'=>200,
    'speed' => 'slow'
));

Total 2 comments

#10724 report it
Junior - df9 at 2012/11/19 06:47am
Thumb up

Surely, thumb up!

Thank you very much!

Regards

#9261 report it
Jales Monteiro at 2012/08/01 02:26am
Erro

no meu ainda deu erro: eu transferi a propriedade padding:10px 12px; do elemento scroll-top-arrow para o scroll-top e aumentei a altura do scroll-top para 53px, aí pegou ;) tbm adicionei a opcao de mudar a cor do fundo pra ficar mais estilizado e a propriedade cursor:pointer ao scroll-top pq eu prefiro com a mãozinha :D

Leave a comment

Please to leave your comment.

Create extension