CSSS-plugins

Created: 2011-07-18 20:39
Updated: 2016-10-23 19:57
License: mit

README.markdown

Some CSSS plugins

JSSnippets

Lets you run JS code from textareas during your talk

For example, do this in a CSSS slide:

<textarea class="js-snippet">
alert("Oh hai!");
</textarea>

And at the end of your slides put e.g. this code:

<script src="plugins/js-snippets.js"></script>
<script>
JSSnippets.applyTo(".js-snippet");
</script>

C0nsole

A brain-dead simple console, sort of useful when you need a nice output for stuff run from JSSnippets.

<textarea class="js-snippet">
c0nsole.write("Oh hai again! Kthxbye!");
</textarea>`

For c0nsole to work, you need to put:

<link rel="stylesheet" src="plugins/c0nsole.css">

in the <head> part of your slides, and:

<script src="plugins/c0nsole.js"></script>

at the bottom of your slides.

DEMO

For a demo of both of these plugins, check out my ECMAScript 5 talk slides.

LICENSE

See license.txt for details.

Cookies help us deliver our services. By using our services, you agree to our use of cookies Learn more