jQuery Text Fade Delay
Fade in a series of blockquote elements followed by a delayed cite elements, and simultaneously fade both out.
Demo
A working demo is provided in demo.html
Setup
-
Include the jQuery library:
-
Include CSS and JS:
-
Use the following HTML structure:
Quote goes hereCitation goes hereSecond quote goes hereCitation goes here -
Call the plugin:
Settings
Setting | Default Value | Description |
---|---|---|
fadeSpeed | 500 |
Blockquote fade in speed (ms) |
duration | 2000 |
Duration (ms) before fading to the next blockquote |
citeDelay | 1200 |
Delay (ms) until cite element fades in |
citeFadeSpeed | 750 |
Cite fade in speed (ms) |
Author
Licence
MIT