mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
JavaScript animation improvements to portlet templates
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5612 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -13,7 +13,7 @@ var MyWebForms = {
|
||||
{
|
||||
var projects = $$('#formsPanel .webProjectRow');
|
||||
var frms = $$('#formsPanel .webProjectForms');
|
||||
var fxForm = new Fx.Elements(frms, {wait: false, duration: 300, transition: Fx.Transitions.linear});
|
||||
var fxForm = new Fx.Elements(frms, {wait: false, duration: 300, transition: Fx.Transitions.sineInOut});
|
||||
|
||||
projects.each(function(project, i)
|
||||
{
|
||||
@@ -22,7 +22,7 @@ var MyWebForms = {
|
||||
// animated elements defaults
|
||||
frm.maxHeight = frm.getStyle('height').toInt();
|
||||
frm.defHeight = 1;
|
||||
frm.setStyle('height', 0);
|
||||
frm.setStyle('height', frm.defHeight);
|
||||
frm.setStyle('opacity', 0);
|
||||
|
||||
// register 'mouseenter' (subclassed mouseover) event for each project
|
||||
|
@@ -15,8 +15,8 @@ var MyTasks = {
|
||||
var infos = $$('#taskPanel .taskInfo');
|
||||
var details = $$('#taskPanel .taskDetail');
|
||||
var resources = $$('#taskPanel .taskResources');
|
||||
var fxInfo = new Fx.Elements(infos, {wait: false, duration: 300, transition: Fx.Transitions.linear});
|
||||
var fxDetail = new Fx.Elements(details, {wait: false, duration: 300, transition: Fx.Transitions.linear,
|
||||
var fxInfo = new Fx.Elements(infos, {wait: false, duration: 300, transition: Fx.Transitions.sineInOut});
|
||||
var fxDetail = new Fx.Elements(details, {wait: false, duration: 300, transition: Fx.Transitions.sineInOut,
|
||||
onComplete: function()
|
||||
{
|
||||
// event handler to ensure
|
||||
|
Reference in New Issue
Block a user