equal
deleted
inserted
replaced
76 +'</p>').show(); |
76 +'</p>').show(); |
77 $(".btv-cp-hide-tweets").show(); |
77 $(".btv-cp-hide-tweets").show(); |
78 } |
78 } |
79 } |
79 } |
80 |
80 |
|
81 function showTooltip(_t, _x, _y) { |
|
82 $("#btv-tooltip").html('<img class="btv-tooltip-image" src="' |
|
83 + _t.profile_image_url |
|
84 + '" /><p class="btv-tooltip-name"><span>' |
|
85 + _t.from_user |
|
86 + '</span> (<span>' |
|
87 + _t.from_user_name |
|
88 +'</span>)</p><p>' |
|
89 + _t.text |
|
90 +'</p><div class="btv-tooltip-arrow"></div>').show().css({ |
|
91 "left": _x + "px", |
|
92 "top": _y + "px", |
|
93 }) |
|
94 } |
|
95 |
|
96 function hideTooltip() { |
|
97 $("#btv-tooltip").hide(); |
|
98 } |
|
99 |
|
100 function showControlPanel() { |
|
101 $("#btv-cp-container").dequeue().animate({ |
|
102 "left": 0 |
|
103 }); |
|
104 } |
|
105 |
|
106 function hideControlPanel() { |
|
107 $("#btv-cp-container").dequeue().animate({ |
|
108 "left": "-315px" |
|
109 }); |
|
110 } |
|
111 |
81 $(function() { |
112 $(function() { |
82 columnCounts = columnKeywords.map(function() { |
113 columnCounts = columnKeywords.map(function() { |
83 return 0; |
114 return 0; |
84 }) |
115 }) |
85 setInterval(function() { |
116 setInterval(function() { |
135 |
166 |
136 for (var _j = 0; _j < toDel.length; _j++) { |
167 for (var _j = 0; _j < toDel.length; _j++) { |
137 var _id = toDel[_j].id_str; |
168 var _id = toDel[_j].id_str; |
138 world.DestroyBody(b2bod[_id]); |
169 world.DestroyBody(b2bod[_id]); |
139 |
170 |
140 $('#'+_id).delay(10).hide("slow").queue(function() { |
171 $('#'+_id).fadeTo(500, 0, function() { |
141 $(this).remove(); |
172 $(this).remove(); |
142 }); |
173 }); |
143 } |
174 } |
144 |
175 |
145 // Regenerate column counts |
176 // Regenerate column counts |
154 } |
185 } |
155 } |
186 } |
156 } |
187 } |
157 }); |
188 }); |
158 |
189 |
|
190 $("#btv-cp-container").mouseover(showControlPanel).mouseout(hideControlPanel); |
|
191 |
159 $("#btv-cp-champ-filtre").keyup(function() { |
192 $("#btv-cp-champ-filtre").keyup(function() { |
160 updateLastTweetList(); |
193 updateLastTweetList(); |
161 }); |
194 }); |
162 $("#btv-cp-clear-filtre").click(function() { |
195 $("#btv-cp-clear-filtre").click(function() { |
163 $("#btv-cp-champ-filtre").val(""); |
196 $("#btv-cp-champ-filtre").val(""); |