|
|
@@ -203,6 +203,8 @@ $(document).ready(function(){
|
|
203
|
203
|
});
|
|
204
|
204
|
|
|
205
|
205
|
// Affichage un/des embed
|
|
|
206
|
+ // 1328283150_media-playback-start.png
|
|
|
207
|
+ // 1328283201_emblem-symbolic-link.png
|
|
206
|
208
|
$('a.element_embed_open_link').live("click", function(){
|
|
207
|
209
|
|
|
208
|
210
|
li = $(this).parent('td').parent('tr').parent().parent().parent('li.element');
|
|
|
@@ -236,6 +238,39 @@ $(document).ready(function(){
|
|
236
|
238
|
|
|
237
|
239
|
return false;
|
|
238
|
240
|
});
|
|
|
241
|
+
|
|
|
242
|
+ // Affichage du "play" ou du "open" (image png)
|
|
|
243
|
+ $('li.element a.a_thumbnail, li.element img.open, li.element img.play').live({
|
|
|
244
|
+ mouseenter:
|
|
|
245
|
+ function()
|
|
|
246
|
+ {
|
|
|
247
|
+ td = $(this).parent('td');
|
|
|
248
|
+ a = td.find('a.a_thumbnail');
|
|
|
249
|
+ if (a.hasClass('embed'))
|
|
|
250
|
+ {
|
|
|
251
|
+ td.find('img.play').show();
|
|
|
252
|
+ }
|
|
|
253
|
+ else
|
|
|
254
|
+ {
|
|
|
255
|
+ td.find('img.open').show();
|
|
|
256
|
+ }
|
|
|
257
|
+ },
|
|
|
258
|
+ mouseleave:
|
|
|
259
|
+ function()
|
|
|
260
|
+ {
|
|
|
261
|
+ td = $(this).parent('td');
|
|
|
262
|
+ a = td.find('a.a_thumbnail');
|
|
|
263
|
+ if (a.hasClass('embed'))
|
|
|
264
|
+ {
|
|
|
265
|
+ td.find('img.play').hide();
|
|
|
266
|
+ }
|
|
|
267
|
+ else
|
|
|
268
|
+ {
|
|
|
269
|
+ td.find('img.open').hide();
|
|
|
270
|
+ }
|
|
|
271
|
+ }
|
|
|
272
|
+ }
|
|
|
273
|
+ );
|
|
239
|
274
|
|
|
240
|
275
|
// Mise en favoris
|
|
241
|
276
|
$('a.favorite_link').live("click", function(){
|
|
|
@@ -721,6 +756,6 @@ $(document).ready(function(){
|
|
721
|
756
|
// Check périodique
|
|
722
|
757
|
// TODO.
|
|
723
|
758
|
|
|
724
|
|
-
|
|
|
759
|
+
|
|
725
|
760
|
|
|
726
|
761
|
});
|