Skip to content
Permalink
Browse files

demos/index.html - added fade in/out effect to demo notes.

  • Loading branch information...
Ca-Phun Ung
Ca-Phun Ung committed Jan 2, 2009
1 parent 720b460 commit 81428b3f51550d383a3b23138aa676bad30ab175
Showing with 2 additions and 2 deletions.
  1. +2 −2 demos/index.html
@@ -108,7 +108,7 @@
$(this).parents('ul').find('li').removeClass('demo-config-on');
$(this).parent().addClass('demo-config-on');
$('#demo-notes').hide();
$('#demo-notes').fadeOut();
//Set the hash to the actual page without ".html"
window.location.hash = header + '|' + this.getAttribute('href').match((/\/([^\/\\]+)\.html/))[1];
@@ -160,7 +160,7 @@
$('<div id="demo-notes"></div>').insertAfter('#demo-config');
}
$('#demo-notes').hide().empty().html(notes.html());
$('#demo-notes').show();
$('#demo-notes').fadeIn();
notes.hide();
}

0 comments on commit 81428b3

Please sign in to comment.
You can’t perform that action at this time.