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:
Kevin Roast
2007-05-17 13:56:42 +00:00
parent b75120b354
commit 7d878964e9
4 changed files with 29 additions and 14 deletions

View File

@@ -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");
}
};