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

@@ -104,7 +104,7 @@ var MyDocs = {
doc.addClass('docItemSelected');
// 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
@@ -241,7 +241,7 @@ var MyDocs = {
// continue animations that may have been going on before the click
// move the item title to the right
animItem[j] = {
'margin-left': [otherItem.getStyle('margin-left').toInt(), 89],
'margin-left': [otherItem.getStyle('margin-left').toInt(), 56],
'font-size': [otherItem.getStyle('font-size').toInt(), 18]
};
// fade in the info button
@@ -359,7 +359,7 @@ var MyDocs = {
// 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