File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ It uses a glyphicon, some CSS and the .animate jQuery function. All these are pa
5
5
6
6
Installation
7
7
------------
8
-
9
8
The preferred way to install this extension is through [ composer] ( http://getcomposer.org/download/ ) .
10
9
11
10
Either run
@@ -25,7 +24,6 @@ to the require section of your `composer.json` file.
25
24
26
25
How to use
27
26
----------
28
-
29
27
Add this line to your main layout so the widget gets loaded automatically into every page.
30
28
``` php
31
29
<?= \bluezed\scrollTop\ScrollTop::widget() ?>
@@ -35,3 +33,8 @@ By default your main layout should be located here:
35
33
```
36
34
<Project-Folder>/views/layouts/main.php
37
35
```
36
+
37
+ Screenshot
38
+ ----------
39
+ The button appears in the bottom right corner of the page once you have scrolled down at least 150px.
40
+ ![ Screenshot of the button] ( http://s19.postimg.org/dkro8azxf/Scroll_Top_Button.png )
You can’t perform that action at this time.
0 commit comments