jQuery Space Gallery

554764_4033245999325_1753967954_n

外掛網址:Spacegallery

下載demo檔案後,依照範例引入css跟js檔,然後就可以使用plugin了。
  1. $('#myGallery').spacegallery();  

此外還有一些參數可以設定:
border integer Images' border. Default: 0
duration integer Animation duration. Default 800
perspective integer Perpective height. Default: 140
minScale float Minimum scale for the image in the back. Default: 0.2
loadingClass string CSS class applied to the element while looading images. Default: null
before function Callback function triggered before going to the next image
after function Callback function triggered after going to the next image

Demo

留言

熱門文章