Changeset 5790 for trunk/expressoMail1_2/js/InfoContact.js
- Timestamp:
- 03/22/12 16:09:24 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expressoMail1_2/js/InfoContact.js
r4234 r5790 25 25 26 26 var card = Element("card_cc"); 27 if(email.match(/<([^<]*)>[\s]*$/)) 28 email = email.match(/<([^<]*)>[\s]*$/)[1]; 27 29 28 30 if(this.td != td){ … … 48 50 } 49 51 div_label.innerHTML = text; 50 div_label.style.top = findPosY(this.td) + 20 - Element("divScrollMain_"+numBox).scrollTop;51 div_label.style.left = findPosX(this.td) + 20;52 div_label.style.top = (findPosY(this.td) + 20 - Element("divScrollMain_"+numBox).scrollTop)+"px"; 53 div_label.style.left = (findPosX(this.td) + 20)+"px"; 52 54 div_label.style.display = ''; 53 setTimeout("InfoContact.hide()",1000 0);55 setTimeout("InfoContact.hide()",1000); 54 56 } 55 57 … … 69 71 var _this = this; 70 72 var card = Element("card_cc"); 71 card.style.left = findPosX(this.td) + 20;73 card.style.left = (findPosX(this.td) + 20)+"px"; 72 74 var y = findPosY(this.td) + 20 - Element("divScrollMain_"+numBox).scrollTop; 73 75 var w_height = is_ie ? document.body.clientHeight + document.body.scrollTop : window.innerHeight + window.pageYOffset; 74 76 if(y + 160 > w_height) 75 card.style.top = y - 160;77 card.style.top = (y - 160)+"px"; 76 78 else 77 card.style.top = y ;79 card.style.top = y+"px"; 78 80 card.style.display = ''; 79 81 var cn = data.cn; … … 115 117 116 118 117 this.timeout_hide = setTimeout("InfoContact.hide()",1000 0);119 this.timeout_hide = setTimeout("InfoContact.hide()",1000); 118 120 } 119 121
Note: See TracChangeset
for help on using the changeset viewer.