function fooBailoutInfo(str){
//empty function
}
$(document).ready(function(){
$(".bailoutCircle").hover(
function (kmouse) {
var t = ($(this).attr("href")).replace("#", "");
var r = $("#"+t).find(".bailoutYear").text() + " - " + $("#"+t).find(".bailoutRecepientName").text() + " - " + $("#"+t).find(".bailoutAmount").text();
r += "
Click bubble for more info";
var p = $(this).position();
var offset = ($("#wrapper").position().left) ? ($("#wrapper").position().left) : 0 ;
$("#pointerBox").html(r);
$("#pointerBox").slideDown("fast");
$("#pointerBox").css("left", kmouse.pageX-offset+15);
$("#pointerBox").css("top", kmouse.pageY+15);
},
function () {
//var t = ($(this).attr("href")).replace("#", "");
//alert(t);
$("#pointerBox").hide("fast");
}
);
});
by Jesse Nankin and Krista Kjellman Schmidt, ProPublica, Updated April 15, 2009
The circles below represent the relative size of each U.S. government bailout of American corporations (and one city), calculated in 2008 dollars. They are in chronological order. | Related:Bailout Tracker: Tracking every dollar and every recipient »
