使用fancybox你通常可以使用这个函数来绑定文档信息:
$("#someID").on('click', function() { 
现在我动态地打开我的fancybox内容,这里有一个例子:
function openFancyBox(id, type)
{
    if(type != 'default')
    {
        CurrentFeaturePositionID = id;
        $.fancybox({
            type: 'inline',
            'content' : $('#' + type + '_fb').html()
        });
    }
}
如何使用此方法绑定内容?