Menu icon Foundation

My Posts

No Content

My Comments

simon kerr commented on Steve Trask's post over 5 years

I found this seems to work -
The resize event on the orbit is triggered once the interchange images have been replaced.

 $('#orbit-ul').on('replace', 'img', function(e, new_path, original_path) {
    $('#orbit-ul').foundation('orbit').resize();
});

Posts Followed

No Content

Following

    No Content

Followers

My Posts

No Content

My Comments

You commented on Steve Trask's post over 5 years

I found this seems to work -
The resize event on the orbit is triggered once the interchange images have been replaced.

 $('#orbit-ul').on('replace', 'img', function(e, new_path, original_path) {
    $('#orbit-ul').foundation('orbit').resize();
});

Posts Followed

No Content

Following

  • No Content

Followers

  • No Content