• hello there πŸ˜‰

    first thanks a lot for such a nice plugin. love it and use it on some of my wordpress sites.

    however … on one of my development sites i do have a problem when swipebox is enabled.

    the site does an ajax call on page load to fill some div with some custom text based on the country the visitor is coming from.

    the ajax code looks like this ->

    jQuery(document).ready(function($){
    	$.ajax({
            type: 'GET',
            url: mpr_ajaxobj.mpr_ajaxurl,
            data: {
                action: 'mpr_ajaxload_adhandler'
            },
            success: function(data, textStatus, XMLHttpRequest) {
                var loadpostresult = '#customContent';
                jQuery(loadpostresult).html('');
                jQuery(loadpostresult).append(data);
            },
            error: function(MLHttpRequest, textStatus, errorThrown) {
                alert(errorThrown);
            }
        });
    });

    once i enable this ajax call i only receive a black page for swipebox! no images being displayed ;-(

    if i remove the ajax call then swipebox works fine

    here’s a link to the site currently in progress ->

    http://wp.thansadet.com/

    any idea on how to fix this and make swipebox working with that ajax call would be more than awesome πŸ˜‰

    thanks, greetings & all the best
    becki

    http://wordpress.org/plugins/responsive-lightbox/

The topic ‘swipebox problem with ajax call’ is closed to new replies.