Alter top CSS property to be 10px now not 80px

Because X & Y positions now picked up in iFrames
The top pos doesn't need so much added to it
This commit is contained in:
Matt Pass
2012-07-22 19:10:14 +01:00
parent 93726f9bb3
commit 88cd0996ec

View File

@@ -864,7 +864,7 @@ var ICEcoder = {
top.ICEcoder.selectedFiles.length > 1 ? singleFileMenuItems.style.display = "none" : singleFileMenuItems.style.display = "block";
document.getElementById('fileMenu').style.display = "inline-block";
document.getElementById('fileMenu').style.left = (top.ICEcoder.mouseX+20) + "px";
document.getElementById('fileMenu').style.top = (top.ICEcoder.mouseY-top.document.getElementById('filesFrame').contentWindow.document.body.scrollTop+80) + "px";
document.getElementById('fileMenu').style.top = (top.ICEcoder.mouseY-top.document.getElementById('filesFrame').contentWindow.document.body.scrollTop+10) + "px";
}
return false;
},