Hi all,

I'm trying to load a content and list of images together with
pagination using jQuery live.

Images and loads are successfully loaded but when I click on list of
numbers to view each image, nothing happen. As for the images, all
being listed but only one being display at the front end.

Here is snippets of my code:
    $(".lposts").live("click", function() {
        var href = this.href+"?ajax=true";
        var image_path = "http://www.projects.com/images/";;

        $.getJSON(href, function(data) {
            $(".workinfoz")
            .empty()
            .fadeOut('slow')
            .fadeIn(2000)
            .html(data.content);
            $("#workslides").empty();
            $("#workController").empty();
            $.each(data.images, function() {
                $("#workslides").append('<div class="slide-wrap"><img
src="'+image_path+this+'" alt="" /></div>');
            });
            var flowCount = 1;
            while(flowCount <= data.total_images) {
                $("#workController").append('<span
class="jFlowControl">'+flowCount+'</span>');
                flowCount++;
            }
        }
        );
            return false;
    });

I'm using jQuery flow to navigate those images.

Thanks in advanced for your helps.

Cheers!

Reply via email to