mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Improvements to fish-eye effect code to simplify and fix issues with space/document icon click regions
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5710 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -71,7 +71,7 @@ var MySpaces = {
|
||||
space.addClass('spaceItemSelected');
|
||||
// move the item title to the right
|
||||
animItem[i] = {
|
||||
'margin-left': [item.getStyle('margin-left').toInt(), 89],
|
||||
'margin-left': [item.getStyle('margin-left').toInt(), 56],
|
||||
'font-size': [item.getStyle('font-size').toInt(), 18]
|
||||
};
|
||||
// fade in the info button
|
||||
@@ -160,7 +160,7 @@ var MySpaces = {
|
||||
// continue animations that may have been going on before the click
|
||||
// move the item title to the right
|
||||
animItem[i] = {
|
||||
'margin-left': [item.getStyle('margin-left').toInt(), 89],
|
||||
'margin-left': [item.getStyle('margin-left').toInt(), 56],
|
||||
'font-size': [item.getStyle('font-size').toInt(), 18]
|
||||
};
|
||||
// fade in the info button
|
||||
@@ -199,6 +199,12 @@ var MySpaces = {
|
||||
fxInfo.start(animInfo);
|
||||
fxImage.start(animImage);
|
||||
});
|
||||
},
|
||||
|
||||
upload: function(actionEl)
|
||||
{
|
||||
var panel = $E(".spaceUploadPanel", actionEl);
|
||||
panel.setStyle("display", "block");
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user