Динамическое добавление FancyBox

$('a[href$=".jpg"],a[href$=".gif"],a[href$=".png"]').live(
    'mouseenter', 
    function()
    {
        $(this).fancybox(
            {
                type : 'image'
            }
        );

        return true;
    }
);

23.08.2012