(javascript) New jquery release, substantially faster, smoother animation (especially in Firefox). Also, some fixes to animation speed and for Safari.

This commit is contained in:
James Taylor
2007-07-02 14:15:59 +00:00
parent 011a3a3498
commit f29aa679d2
4 changed files with 613 additions and 508 deletions
+598 -503
View File
File diff suppressed because it is too large Load Diff
+11 -1
View File
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -59,13 +59,13 @@
})
})
// Collapse all
q("#top-links").append( " | " ).append( q("<a href='#'>collapse all</a>").click( function() {
q("#top-links").append( "|&nbsp;" ).append( q("<a href='#'>collapse all</a>").click( function() {
q( "div.historyItemBody:visible" ).each( function() {
if ( q.browser.mozilla )
{
q(this).find( "pre.peek" ).css( "overflow", "hidden" );
q(this).slideUp( "fast" );
}
q(this).slideUp( "fast" );
})
state.removeAll().save();
}))
+2 -2
View File
@@ -21,10 +21,10 @@
if ( body.is( ":hidden" ) ) {
if ( last_expanded ) last_expanded.slideUp( "fast" );
last_expanded = body;
body.slideDown();
body.slideDown( "fast" );
}
else {
body.slideUp();
body.slideUp( "fast" );
last_expanded = null;
}
});