Mercurial > browser-couch
changeset 76:9a771b8a1702
Added fade-in to tutorial.
author | Atul Varma <varmaa@toolness.com> |
---|---|
date | Mon, 20 Apr 2009 13:38:31 -0700 |
parents | c1c82f2017a3 |
children | 5d413eab9aab |
files | css/tutorial.css js/tutorial.js |
diffstat | 2 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/css/tutorial.css Mon Apr 20 13:37:23 2009 -0700 +++ b/css/tutorial.css Mon Apr 20 13:38:31 2009 -0700 @@ -8,7 +8,7 @@ text-align: left; margin: 2em auto; line-height: 1.4em; - + display: none; } h1 {
--- a/js/tutorial.js Mon Apr 20 13:37:23 2009 -0700 +++ b/js/tutorial.js Mon Apr 20 13:38:31 2009 -0700 @@ -20,6 +20,7 @@ // Set the width of the content to be the maximum number of // characters of code that can fit on a line. $('#content').css({width: charWidth * CHARS_PER_ROW}); + $('#content').fadeIn(); // Iterate through all the code snippets and trim them. var allCode = '';