Changeset 10838 for extensions/LLGBO2/js/sweettitlesn1_comment.js
- Timestamp:
- May 10, 2011, 6:24:43 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/LLGBO2/js/sweettitlesn1_comment.js
r10453 r10838 41 41 xCord : 0, 42 42 yCord : 0, 43 tipElements : ['a',' span','area'],43 tipElements : ['a','area'], 44 44 forbidenClasses : ['navThumb','markItUpButton'], 45 45 obj : Object, … … 76 76 el.setAttribute('tiptitle', tv); 77 77 el.setAttribute('tipswt', sv ); 78 el.setAttribute('title',''); 79 el.removeAttribute('swttips');} 80 el.removeAttribute('alt');} } 78 el.removeAttribute('swttips'); 79 el.removeAttribute('alt'); 80 el.removeAttribute('title'); } 81 } 82 } 81 83 } 82 84 }, … … 116 118 swtT.Move; 117 119 var T = this.x.style; 120 var scrX = Number(this.xCord); 121 var scrY = Number(this.yCord); 122 var tp = parseInt(scrY+8); 123 var lt = parseInt(scrX+8); 124 var D = document.documentElement; 125 if ( parseInt(D.clientWidth+D.scrollLeft) < parseInt(this.x.offsetWidth+lt) ) { 126 T.left = parseInt(lt-(this.x.offsetWidth+3))+'px'; 127 } else { 128 T.left = lt+'px'; } 129 if ( parseInt(D.clientHeight+D.scrollTop) < parseInt(this.x.offsetHeight+tp) ) { 130 T.top = parseInt(tp-(this.x.offsetHeight+3))+'px'; 131 } else {T.top = tp+'px'; } 118 132 T.visibility = 'visible'; 119 133 T.opacity = '.1';
Note: See TracChangeset
for help on using the changeset viewer.