pavlinter/yii2-sticky-footer

Yii2: Sticky Footer

Installs: 1 392

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 1

Open Issues: 0

Type:yii2-extension

v1.0.0 2015-02-19 10:00 UTC

This package is not auto-updated.

Last update: 2024-11-09 17:03:53 UTC


README

Widget for jQuery.stickyFooter script

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist pavlinter/yii2-sticky-footer "dev-master"

or add

"pavlinter/yii2-sticky-footer": "dev-master"

to the require section of your composer.json file.

Usage

<?php \pavlinter\stickyFooter\StickyFooter::begin(['id' => 'myFooter','contentSelector' => "#wrapper"]) ?>
    <div id="footer">
        footer
    </div>
<?php \pavlinter\stickyFooter\StickyFooter::end() ?>