function Test() {
//var doc = window.frames[0][1].document;
var doc = document.forms['form1'].document;
var el = doc.getElementsByTagName('AREA');
var len = el.length;
for (i = 0; i < len; i++) {
var ToolTipText = el[i].getAttribute("TITLE");
el[i].onmouseover = function () { tooltip.show(this.value); };
el[i].onmouseout = function () { tooltip.hide() };
el[i].setAttribute("value", i);
}
}
|