(d)
| 229 | } |
| 230 | |
| 231 | function mouseover(d) { |
| 232 | |
| 233 | d3.select(this).select("rect") |
| 234 | .attr("x", function(d) { return hoverCoef * -nodeSize/2; }) |
| 235 | .attr("y", function(d) { return hoverCoef * -nodeSize/2; }) |
| 236 | .attr("width", function(d) { return hoverCoef * nodeSize; }) |
| 237 | .attr("height", function(d) { return hoverCoef * nodeSize; }); |
| 238 | |
| 239 | d.iframe |
| 240 | .classed("hover", true) |
| 241 | .style("z-index", 3) |
| 242 | .style("border-width", "2px") |
| 243 | .style("transform", function(d) { return "translate(-50%,-50%) scale(" + (hoverCoef * .2) + ")"; }) |
| 244 | .style("-webkit-transform", function(d) { return "translate(-50%,-50%) scale(" + (hoverCoef * .2) + ")"; }) |
| 245 | .style("-moz-transform", function(d) { return "translate(-50%,-50%) scale(" + (hoverCoef * .2) + ")"; }); |
| 246 | } |
| 247 | |
| 248 | function mouseout(d) { |
| 249 |
nothing calls this directly
no outgoing calls
no test coverage detected