From: Ca-Phun Ung Date: Fri, 2 Jan 2009 14:54:25 +0000 (+0000) Subject: demos/index.html - added fade in/out effect to demo notes. X-Git-Tag: 1.6rc5~141 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=81428b3f51550d383a3b23138aa676bad30ab175;p=jquery-ui.git demos/index.html - added fade in/out effect to demo notes. --- diff --git a/demos/index.html b/demos/index.html index 6c60f6bad..3f0a40791 100644 --- a/demos/index.html +++ b/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 @@ $('
').insertAfter('#demo-config'); } $('#demo-notes').hide().empty().html(notes.html()); - $('#demo-notes').show(); + $('#demo-notes').fadeIn(); notes.hide(); }