87,993
社区成员
发帖
与我相关
我的任务
分享
function loadApp() {
var w = $(window).width();
var h = $(window).height();
$('.flipboox').width(w).height(h);
$(window).resize(function () {
w = $(window).width();
h = $(window).height();
$('.flipboox').width(w).height(h);
});
// Create the flipbook
$('.flipbook').turn({
// Width
width: w,
// Height
height: h,
// Elevation
elevation: 50,
display: 'single',
// Enable gradients
gradients: true,
// Auto center this flipbook
autoCenter: true,
});
}
// Load the HTML4 version if there's not CSS transform
yepnope({
test : Modernizr.csstransforms,
yep: ['../../lib/turn.js'],
nope: ['../../lib/turn.html4.min.js'],
complete: loadApp
});
试试用这个呀。
http://www.jb51.net/article/86900.htm
[/quote]这个我看过 但是我这是要用div去做 这个全用的图
试试用这个呀。
http://www.jb51.net/article/86900.htm
没有大神用过这个东西么 急死了要