Changeset 12649 for extensions/LLGBO2/js/sweettitlesn1_comment.js
- Timestamp:
- Nov 19, 2011, 9:28:15 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/LLGBO2/js/sweettitlesn1_comment.js
r10838 r12649 37 37 addEvent2(window,'unload',EventCache.flush); 38 38 /*Sweet Titles (c) 2005 http://www.dustindiaz.com 39 Revision pour llgbo : ex-ftb2006*/39 Revision pour llgbo : 2006*/ 40 40 var swtT = { 41 41 xCord : 0, 42 42 yCord : 0, 43 43 tipElements : ['a','area'], 44 forbidenClasses : ['navThumb','markItUpButton'], 44 forbidenClasses : ['navThumb','markItUpButton'], 45 MainTitle : '', 45 46 obj : Object, 46 47 x : Object, … … 66 67 if ( el.parentNode.className.indexOf(this.forbidenClasses[c]) != -1 || 67 68 el.className.indexOf(this.forbidenClasses[c]) != -1) 68 { Active = 'No'; }} 69 { Active = 'No'; }} 70 71 // 69 72 if (Active != 'No' ) 70 73 { var tv = el.getAttribute('title'); … … 96 99 if ( window.opacityID ) { 97 100 clearTimeout(opacityID);} 98 swtT.x.style.visibility = 'hidden';}, 101 swtT.x.style.visibility = 'hidden'; 102 // restore IE Title 103 document.getElementById('theMainImage').setAttribute('title',MainTitle);}, 104 99 105 checkNode : function() { 100 106 var trueObj = this.obj; … … 105 111 tipOver : function(e) {swtT.obj = this; 106 112 tID = window.setTimeout("swtT.tipShow()",100); 107 swtT.updateXY(e);}, 113 swtT.updateXY(e); 114 // Erase IE tooltip on title 115 MainImg = document.getElementById('theMainImage'); 116 MainTitle = MainImg.getAttribute('title'); 117 MainImg.setAttribute('title',""); 118 }, 108 119 109 120 tipMouseMove : function(e) {swtT.updateXY(e); swtT.tipMove();},
Note: See TracChangeset
for help on using the changeset viewer.