Skip to content

Instantly share code, notes, and snippets.

@nongio-zz
Last active February 15, 2016 08:36
Show Gist options
  • Save nongio-zz/8ffc3c7e402f2439ac8f to your computer and use it in GitHub Desktop.
Save nongio-zz/8ffc3c7e402f2439ac8f to your computer and use it in GitHub Desktop.
<script>
$(function(){
$('#image').reel({
indicator: 0, // For no indicator just remove this line
frames: 100,
frame: 6,
rows: 2,
row: 1,
speed: 0.1,
timeout: 3,
preloader: 1,
images: '/assets/images/profile3d/Energy270/iglo_eo_###.jpg'
});
$('.reel-preloader').append('<img class="loadgif" src="/assets/images/profile3d/loading.gif" />');
});
</script>
<!-- QUESTO LO METTI DOVE VUOI L'IMMAGINE -->
<div>
<img id="image" src="assets/images/profile3d/Energy270.jpg" alt="" height="370" width="370" />
</div>
<style type="text/css">
.loadgif {
width: 120px !important;
height: 160px !important;
left:75px !important;
bottom:50px !important;
position: absolute;
z-index:1000;
}
.reel-preloader {
overflow:visible !important;
}
</style>
<script src="http://code.vostrel.cz/jquery.reel-1.2-bundle.js" type="text/javascript"></script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment