jQuery code
Flip gallery with:
- green background (for images smaller than canvas)
- flipping corners on the bottom
- no image resize
- flip.jflip event binded to show infos
$("#g1").jFlip(300,300,{background:"green",cornersTop:false}).
bind("flip.jflip",function(event,index,total){
$("#l1").html("Image "+(index+1)+" of "+total);
});
Image 1 of 6
jQuery code
Flip gallery with:
- green background (for images smaller than canvas)
- flipping corners on the top
- images bigger than canvas are resized to be completely visible
$("#g2").jFlip(300,300,{background:"green",cornersTop:true,scale:"fit"});
jQuery code
Flip gallery with:
- green background (for images smaller than canvas)
- flipping corners on the top
- all images are adjusted to fill the canvas while keeping aspect ratio
$("#g3").jFlip(300,300,{background:"green",cornersTop:true,scale:"fill"});