still experimenting with the flow

This commit is contained in:
cktricky
2015-01-07 09:34:53 -05:00
parent 09ba2b3270
commit 50a9fee280
2 changed files with 7 additions and 2 deletions
@@ -0,0 +1 @@
<h1>hello</h1>
+6 -2
View File
@@ -58,9 +58,13 @@ function makeActive(){
$('#breaker').click(function(event){ $('#breaker').click(function(event){
event.preventDefault(); event.preventDefault();
$("#main").empty() $("#main").fadeOut(500, function() {
$(this).empty().show();
});
$("#info").empty() $("#info").empty()
$("#info").load(<%= sanitize breaker_tutorials_path.inspect %>) $("#info").load(<%= sanitize breaker_tutorials_path.inspect %>).hide().fadeIn(4000)
}); });
$(document).ready(makeActive); $(document).ready(makeActive);