]> source.dussan.org Git - jquery-ui.git/commitdiff
demos/index.html - added fade in/out effect to demo notes.
authorCa-Phun Ung <pazu2k@gmail.com>
Fri, 2 Jan 2009 14:54:25 +0000 (14:54 +0000)
committerCa-Phun Ung <pazu2k@gmail.com>
Fri, 2 Jan 2009 14:54:25 +0000 (14:54 +0000)
demos/index.html

index 6c60f6bad913ce09b2d4528734962c4c5215ab05..3f0a4079108a651c6c8ee126e84e1475e1b59e24 100644 (file)
                                                                        
                                                                        $(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];
                                $('<div id="demo-notes"></div>').insertAfter('#demo-config');
                        }                                               
                        $('#demo-notes').hide().empty().html(notes.html());
-                       $('#demo-notes').show();
+                       $('#demo-notes').fadeIn();
                        notes.hide();
                }