Skip to content

Instantly share code, notes, and snippets.

@artpolikarpov
Created January 27, 2014 19:53
Show Gist options
  • Save artpolikarpov/8656017 to your computer and use it in GitHub Desktop.
Save artpolikarpov/8656017 to your computer and use it in GitHub Desktop.
Emerge’ ready event
<div class="emerge">
<img src="1.jpg">
<div class="emerge-custom" id="fotorama">
<img src="2.jpg">
<img src="3.jpg">
</div>
</div>
$(function () {
$('#fotorama')
.on('fotorama:ready', function () {
$(this).emerge('ready');
})
.fotorama();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment