Skip to content

Commit

Permalink
Extract javascript to own file
Browse files Browse the repository at this point in the history
  • Loading branch information
philwebb committed Sep 23, 2012
1 parent 568b858 commit ee95cf0
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
2 changes: 2 additions & 0 deletions one/slidesA.md
@@ -1,5 +1,6 @@
<!SLIDE cover>

<!--
<script>
$("body,html").append('<div id="copyright" style="display:none;">&copy; 2012 SpringOne 2GX. All rights reserved. Do not distribute without permission.</div>')
$(".cover").bind("showoff:show", function (event) {
Expand All @@ -11,6 +12,7 @@ $(".cover").bind("showoff:next", function (event) {
$("#copyright").hide();
});
</script>
-->

# Title #

Expand Down
17 changes: 17 additions & 0 deletions springone.js
@@ -0,0 +1,17 @@
$(function() {
$("#preso").bind("showoff:loaded", function (event) {

$("body").append('<div id="copyright">&copy; 2012 SpringOne 2GX. All rights reserved. Do not distribute without permission.</div>')
$("#footer").hide();

$(".cover").bind("showoff:show", function (event) {
$("#footer").hide();
$("#copyright").show();
});

$(".cover").bind("showoff:next", function (event) {
$("#footer").show();
$("#copyright").hide();
});
});
});

0 comments on commit ee95cf0

Please sign in to comment.