How do I get Fancy box to target a specific DIV ID on a page and not request the whole page in the fancybox.? This my code so fare
$(function() {
$(".style_image a").live('click', function(event) {
$(".style_image a").find("#show_style").fancybox();
});
});
This don't work?
I originally tried the following:
$(function() {
$(".style_image a").live('click', function(event) {
$(this.href + " #show_style").fancybox();
});
});
Not sure how this done, or if it is even possible?