. Popup panel improvements:

- Z-ordering issue fixed when redisplaying cached panels
 - 'Preview' as text area moved to bottom of panel left aligned
 - Icon alignment fixed
 - Folder click now opens in same window (content still in new window as before)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5288 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Kevin Roast
2007-03-05 11:30:38 +00:00
parent 838e7d5381
commit 8065560e50
2 changed files with 20 additions and 15 deletions

View File

@@ -6,6 +6,8 @@
// NOTE: This script requires common.js - which needs to be loaded
// prior to this one on the containing HTML page.
var zIndex = 99;
/**
* Node Info Manager constructor
*/
@@ -137,7 +139,6 @@ Alfresco.NodeInfoPanel.prototype =
// NOTE: use className for IE
div.setAttribute("className", "summaryPopupPanel");
div.style.position = "absolute";
div.style.zIndex = 99;
div.style.display = "none";
div.style.left = 0;
div.style.top = 0;
@@ -170,6 +171,7 @@ Alfresco.NodeInfoPanel.prototype =
// set opacity in browser independant way
YAHOO.util.Dom.setStyle(this.popupElement, "opacity", 0.0);
this.popupElement.style.display = "block";
this.popupElement.style.zIndex = zIndex++; // pop to front
Alfresco.Dom.smartAlignElement(this.popupElement, this.launchElement, 700);