r1472 - trunk/demos

r1472 - trunk/demos


Author: pazu2k@gmail.com
Date: Fri Jan 2 06:54:25 2009
New Revision: 1472
Modified:
trunk/demos/index.html
Log:
demos/index.html - added fade in/out effect to demo notes.
Modified: trunk/demos/index.html
==============================================================================
--- trunk/demos/index.html    (original)
+++ trunk/demos/index.html    Fri Jan 2 06:54:25 2009
@@ -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();
        }