aboutsummaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2012-07-12 23:08:21 -0400
committerHakim El Hattab <hakim.elhattab@gmail.com>2012-07-12 23:08:21 -0400
commit7366f607ceac8b08fbd67923d3fc9ef16a52db84 (patch)
tree5b3f2eeb94c272582a24127352579a911860f2d0 /index.html
parent5bc5435b61d729e1eb0209da4a01a76b42ee3a6b (diff)
downloadfreenode-live-2017-presentation-7366f607ceac8b08fbd67923d3fc9ef16a52db84.tar
freenode-live-2017-presentation-7366f607ceac8b08fbd67923d3fc9ef16a52db84.tar.gz
add beige theme, move theme class from .reveal to document element, use log instead of alert to demonstrate custom events
Diffstat (limited to 'index.html')
-rw-r--r--index.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/index.html b/index.html
index c32b757..7f05d12 100644
--- a/index.html
+++ b/index.html
@@ -164,7 +164,7 @@
Additionally custom events can be triggered on a per slide basis by binding to the <code>data-state</code> name.
</p>
<pre><code contenteditable style="font-size: 18px; margin-top: 20px;">Reveal.addEventListener( 'customevent', function() {
- alert( '"customevent" has fired' );
+ console.log( '"customevent" has fired' );
} );
</code></pre>
</section>
@@ -271,7 +271,7 @@ function linkify( selector ) {
// Fires when a slide with data-state=customevent is activated
Reveal.addEventListener( 'customevent', function() {
- alert( '"customevent" has fired' );
+ console.log( '"customevent" has fired' );
} );
// Fires each time a new slide is activated
@@ -299,7 +299,7 @@ function linkify( selector ) {
rollingLinks: true,
// UI style
- theme: query.theme || 'default', // default/neon
+ theme: query.theme || 'default', // default/neon/beige
// Transition style
transition: query.transition || 'default' // default/cube/page/concave/linear(2d)