This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
.gitignore | ||
| |
LICENSE | ||
| |
README.markdown | ||
| |
Rakefile | ||
| |
test_embed.html | ||
| |
widget.css | ||
| |
widget.html | ||
| |
widget.template.html | ||
| |
widget.template.js |
README.markdown
EchoWidget
A widget for EchoWaves.com. Very early stages!
Generating the code
To use the widget properly, you'll need to generate the "widget.js" file:
rake gen
Including it in your page
Simply post the following code anywhere on your page!
<div id="ewContainer"></div>
<script type="text/javascript">
var ECHOWAVES_OPTS = {
channel: 3, // channel id to monitor + post
width: 300, // desired width of widget
height: 300, // desired height of widget
};
</script>
<script src="widget.js" type="text/javascript"></script>
You might also want to include jQuery if some some reason the widget can't load it. e.g.:
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js" type="text/javascript"></script>
Have fun!








