Author: david
Date: 2008-09-30 14:11:36 -0700 (Tue, 30 Sep 2008)
New Revision: 1419
Modified:
trunk/web/js/multiInstanceSelect.js
Log:
Increase speed of show/hide animation for select box instances.
Modified: trunk/web/js/multiInstanceSelect.js
===================================================================
--- trunk/web/js/multiInstanceSelect.js 2008-09-30 20:56:28 UTC (rev 1418)
+++ trunk/web/js/multiInstanceSelect.js 2008-09-30 21:11:36 UTC (rev 1419)
@@ -23,7 +23,7 @@
// Remove element if blank and it's not the only element in the set
if (thisElement.children('option:selected').attr('value') == null &&
$(setSelector).length > 1)
{
- thisElement.hide('slow', function () { thisElement.remove() } );
+ thisElement.hide('normal', function () { thisElement.remove() } );
// NOTE: rest of script executes before thisElement.remove is called due
to hide('slow') delay!
}
@@ -38,7 +38,7 @@
newElement.insertAfter(lastElement);
// Fancy fade-in effect (ooh, ahh!)
- newElement.show('slow');
+ newElement.show('normal');
}
// Build unique ids by appending array index (e.g. thisId0, thisId1, etc.)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.ca/group/qubit-commits?hl=en
-~----------~----~----~----~------~----~------~--~---