Skip to content

Commit c9f693b

Browse files
authored
docs(banner.md): add minimal, animation off example
1 parent fd03a41 commit c9f693b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/content/pages/banner.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,14 @@ Link to a custom page, no close button:
5050
<div id="my-banner-custom"></div>
5151
<script src="/banner.js?link=https://example.com/android&hidebutton=off&size=mini&id=my-banner-custom"></script>
5252

53+
Minimal size without animations.
54+
55+
```html
56+
<script src="/banner.js?size=minimal&animation=off&id=my-banner-minimal"></script>
57+
```
58+
<div id="my-banner-minimal"></div>
59+
<script src="/banner.js?size=minimal&animation=off&id=my-banner-minimal"></script>
60+
5361
## Source
5462

5563
The source for the banner can be found at [https://github.com/keepandroidopen/keepandroidopen.github.io/blob/main/public/banner.js](https://github.com/keepandroidopen/keepandroidopen.github.io/blob/main/public/banner.js). Suggestions for improvement are welcome!

0 commit comments

Comments
 (0)