https://github.com/mobilpadde/supersecretmessage
Secret 'n stuff
https://github.com/mobilpadde/supersecretmessage
Last synced: about 2 months ago
JSON representation
Secret 'n stuff
- Host: GitHub
- URL: https://github.com/mobilpadde/supersecretmessage
- Owner: Mobilpadde
- Created: 2013-04-24T22:49:09.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2013-04-25T10:21:44.000Z (about 12 years ago)
- Last Synced: 2024-04-15T02:42:57.857Z (about 1 year ago)
- Language: JavaScript
- Homepage: http://codepen.io/Mobilpadde/pen/DhyJb
- Size: 145 KB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Super Secret Message
====## How To ##
It's actually quite easy, but I'll show you anyway
So first, include everything as you normally would... You call `.ssm` on a element (Preferably a ul) and let the magic do the rest.
Aaaaaand you're done!
## Settings ##
Of cause if you'd like to play with some settings we've got some of them too!
```html
("ul").ssm({
msg: "thanks",
letter: 0,
wrapper: "b"
});
```* `msg`
* This just tells the plugin what you want it to spell out for you, simple.
* `letter`
* So basically it tells the plugin, if we got more of the same letters (From the `msg`, "thanks" in this case), it'll choose the number letter you set `letter` to
* But! If you set this to `0`, it'll just select a random letter (Which corresponds to the given letter in `msg`) from the string...
* `Wrapper`
* What to wrap around the letter
* In this case, it's a ``