Changeset 5790
- Timestamp:
- 03/22/12 16:09:24 (12 years ago)
- Location:
- trunk/expressoMail1_2/js
- Files:
-
- 2 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 -
trunk/expressoMail1_2/js/draw_api.js
r5767 r5790 1582 1582 { 1583 1583 td_element3.onmouseover = function () {this.title=headers_msgs.to.email;}; 1584 1584 1585 if (headers_msgs.Draft == 'X') 1585 1586 td_element3.innerHTML += "<span style=\"color:red\">("+get_lang("Draft")+") </span>"; … … 1606 1607 else{ 1607 1608 var spanSender = document.createElement("SPAN"); 1608 spanSender.onmouseover = function (event) {this.style.textDecoration = "underline";try {InfoContact.begin(this,headers_msgs. from.email)} catch(e){};};1609 spanSender.onmouseover = function (event) {this.style.textDecoration = "underline";try {InfoContact.begin(this,headers_msgs.reply_toaddress)} catch(e){};}; 1609 1610 spanSender.onmouseout = function (){try {this.style.textDecoration = "none";clearTimeout(InfoContact.timeout);} catch(e){}}; 1610 1611 folder = special_folders['Sent'];
Note: See TracChangeset
for help on using the changeset viewer.