Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

callback function seems to not working..

edited February 2016 in Lightview
I tried to do something after Lightview show complete.
but callback doesn't work.
var me = this;
var $map = $('.gnav-inner.gnav-map a');
$map.on('click', function (event) {
url: $map.attr('href'),
type: 'inline',
options: {
afterUpdate: function (element, position) {
console.log("You've reached position " + position);
onShow: function () {
me._$body.removeClass('opened-map opened-contact opened-profile');
me._$body.addClass($map.attr('href').replace('#sec', 'opened'));
Is there anything wrong settings?
thanks a lot.


Sign In or Register to comment.