make footnote tooltips work again; ensure ids are unique

This commit is contained in:
Marc Delisle
2008-06-25 17:01:31 +00:00
parent 7c166c00fb
commit 134b41faf6
2 changed files with 10 additions and 5 deletions

View File

@@ -158,7 +158,7 @@ function moveTooltip(posX, posY)
*/
function pmaTooltip(e)
{
var theText = document.getElementById(this.getAttribute('name')).innerHTML;
var theText = document.getElementById('footnote_' + this.innerHTML).innerHTML;
var plusX = 0, plusY = 0, docX = 0, docY = 0;
var divHeight = myTooltipContainer.clientHeight;