Author: wesleyhales
Date: 2008-03-19 15:16:51 -0400 (Wed, 19 Mar 2008)
New Revision: 10336
Modified:
modules/portlet/trunk/portal/src/main/resources/simple-portal-war/js/admin.js
Log:
quick collapse onload looks better
Modified: modules/portlet/trunk/portal/src/main/resources/simple-portal-war/js/admin.js
===================================================================
---
modules/portlet/trunk/portal/src/main/resources/simple-portal-war/js/admin.js 2008-03-19
18:05:25 UTC (rev 10335)
+++
modules/portlet/trunk/portal/src/main/resources/simple-portal-war/js/admin.js 2008-03-19
19:16:51 UTC (rev 10336)
@@ -47,8 +47,9 @@
for (var i=0; i < targets.length; i++){
try{
var target =
targets[i].id.substring(0,targets[i].id.lastIndexOf('-target'));
- $('expand-' + target).hide();
- Effect.Appear('contract-' + target, { duration: 0.0 });
+ $('contract-' + target).hide();
+ new Effect.BlindUp(target + '-target', { duration: 0.0 });
+ Effect.Appear('expand-' + target, { duration: 0.0 });
}catch(e){
// alert(e);
}
Show replies by date