equal
deleted
inserted
replaced
28 return; |
28 return; |
29 |
29 |
30 this.selector.find(".tipcolor").css("background-color", color); |
30 this.selector.find(".tipcolor").css("background-color", color); |
31 this._displayedText = text; |
31 this._displayedText = text; |
32 this.selector.find(".tiptext").text(text); |
32 this.selector.find(".tiptext").text(text); |
33 //this.selector.find(".tip").css("left", x).css("top", y); |
33 |
|
34 if (x < 0) |
|
35 x = 0; |
|
36 if (y < 0) |
|
37 y = 0; |
|
38 |
34 this.selector.find(".tip").css("left", x).css("top", y); |
39 this.selector.find(".tip").css("left", x).css("top", y); |
35 this.selector.find(".tip").show(); |
40 this.selector.find(".tip").show(); |
36 this._shown = true; |
41 this._shown = true; |
37 }; |
42 }; |
38 |
43 |