Skip to content

Latest commit

 

History

History
72 lines (44 loc) · 1.48 KB

README.md

File metadata and controls

72 lines (44 loc) · 1.48 KB

Olay - quotes

Display random quotes.

Base URL: https://etrusci.org/tool/olay/?mod=quotes
Default configuration: quotes.conf.js
Default style: quotes.default.css


Examples


Configuration

updaterate

Quotes update rate in milliseconds.

Valid: Integers >= 1

typingspeed

Speed of the typing effect in milliseconds.

Valid: Integers >= 1

sourcefile

URL/path to a JSON file that contains a list of quotes.

Valid: URL, path

Example of a valid quotes file:

[
    { "author": "Foobar", "text": "Hello cruel world." },
    { "author": "Cow", "text": "Moo, mooo moo." },
    { "author": "Cat", "text": "Miao, miao miao." }
]

Output Styling

HTML Elements

<div class="mod quotes">
    {quote_text}
</div>

Available CSS Selectors

.mod {} /* or */ .mod.quotes {} /* Module output container */

.mod.doneTyping {} /* Typing effect has completed */