Reinitialise slidebox after ajax load
-
Hi,
Thanks for putting this in plugin form. ?? It’s working pretty good, but I ran into one problem. I’m using the Advanced Ajax Pageloader Plugin (AAPL) to load my pages with ajax.
And after loading a page with ajax the swipebox doesn’t load anymore. The AAPL plugin provide a way for reload codes to reinitialise scripts. Do you know of a way to reinitialise the swipebox after an ajax pageload?
I tried
jQuery(function($) { $('a[rel*="'+rlArgs.selector+'"]').swipebox() });
and
var swipeboxInstance = $('a[rel*="'+rlArgs.selector+'"]').swipebox(); // Use the refresh method after your event is completed swipeboxInstance.refresh();
but those unfortunately don’t work.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Reinitialise slidebox after ajax load’ is closed to new replies.