点击旁边的ad,就可以免费下载啦

参数说明:    width (number - default 300) : width of the canvas in px图片宽度    height (number - default 300) : height of the canvas in px图片高度    options (hash) :        background (string - default "green") : background color when images are smaller than canvas ("red","#FFF","rgba(255,255,255)")背景颜色        cornersTop (boolean - default true) : true for top corners, false for bottom ones翻书位置,顶部或都底部        scale (string - default "noresize")图片的缩放方式 :            "noresize" images are not resized            "fit" big images are resized to be completely visible            "fill" all images are resized keeping aspect ratio to fill the canvas        gradientColors (array of strings - default [’#4F2727’,’#FF8F8F’,’#F00’]) : the colors the corners (dark color, light color, plain color) since version 0.4        curlSize (number - default 0.1) : the size of the corner as a fraction of height/width (ex: 0.1 sets corner width = jflip width*0.1 and corner height = jflip height*0.1) since version 0.4Common HTML code for the examples

jQuery codeFlip 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);});

您的回应...