Yii-floating-fixed ¶
yii-floating-fixed is the extension for YII framework, as the wrapper for Jquery FLoating Fixed Plugin
What is this using for? ¶
From floating fixed Jquery plugin header:
This is a simple plugin to allow you to toggle an element between position: absolute and position: fixed based on the window scroll position. This lets you have an apparently inline element which floats to stay on the screen once it would otherwise scroll off the screen.
Using Extensions ¶
- extract yii-floating-fixed to extensions folder
- in your view
<?php
$this->widget('ext.floatingFixed.FloatingFixed', array(
'target'=>'.buttons-sticky-container',
'padding'=>1,
));
?>
To reporting Bug or to download release then you may go to github ... https://github.com/yfktn/yii-floating-fixed
Awesome
Awesome. Small extension but very usefull for me!
Thanks!
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.