diff -r c9378e7e853a -r c0205b71e013 client/js/main.js --- a/client/js/main.js Fri Feb 24 11:22:59 2012 +0100 +++ b/client/js/main.js Fri Feb 24 12:03:33 2012 +0100 @@ -30,15 +30,18 @@ } $('#btv-cp-liste-tweets-tout').html( _filtered.reverse().slice(0,20).map(function(_t) { - return '
' - + _t.from_user - + '
' - + _t.from_user_name - +'
' - + _t.text - +'
').show(); - $(".btv-cp-hide-tweets").show(); - } +function showTweetOnScreen(_e) { + $("#btv-bigtweet").html('' + + $(_e).find(".tweet-data-from").text() + + '
' + + $(_e).find(".tweet-data-from-name").text() + +'
' + + $(_e).find(".tweet-data-text").text() + +'
').show(); + $(".btv-cp-hide-tweets").show(); } function showTooltip(_t, _x, _y) { - $("#btv-tooltip").html(''
+ + '" /> '
+ _t.from_user
- + ' ('
+ + ' ('
+ _t.from_user_name
- +') '
+ +'
' + _t.text +'
').show().css({ "left": _x + "px",