Hi, so i done script like that
So firefox prints out tooltip but the ie6 doesn't so what should i do that ie would print tooltip attribute
Code:
body : function() {
for (i = 0; i < all_divs.length; i++) {
if (all_divs[i].title) {
addEvent(all_divs[i], "mouseover", this.onover);
addEvent(all_divs[i], "mouseout", this.onout);
all_divs[i].setAttribute("tooltip", all_divs[i].title);
all_divs[i].removeAttribute("title");
}
}
},
onover : function() {
var msger = document.getElementById("msger");
msger.innerHTML = this.getAttribute("tooltip");
},
Comment