tags:

views:

47

answers:

0

Trying to resize image that is going to show with facebox, with the afterReveal.facebox function.. but cant seem to get hold of the image :/

$(document).bind('afterReveal.facebox', function() {
    var faceboxImg = $('a[href*=facebox]');
    alert(faceboxImg.length);
});

$(document).ready(function() {
    $('a[rel*=facebox]').facebox();
});