jQuery+turn.js翻书、文档和杂志3种特效演示

很好用的一款插件jQuery+turn.js翻书、文档和杂志3种特效演示


 在线预览

下载地址

实例代码

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head> 
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
        <title>演示:jQuery+turn.js翻书、文档和杂志</title>
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
        <style type="text/css">
            h3 a{font-size: 14px;margin-right: 10px;cursor: pointer;}
        </style>
    </head>
    <body>
        <h3 style="width:500px;margin:50px auto 0" id="menus">
            <a class="cur" οnclick="jumpto('samples/basic/index.html')">演示1:默认翻书效果</a>
            <a οnclick="jumpto('samples/docs/index.html')">演示2:翻文档</a>
            <a οnclick="jumpto('samples/magazine/index.html')">演示3:翻杂志</a>
            <a οnclick="jumpto('samples/steve-jobs/index.html')">演示4:翻steve书</a>
        </h3>

        <iframe id="iframe" src="samples/basic/index.html" width="100%" height="800px" frameborder="no" border="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
    </body>
    <script type="text/javascript" src="/static/js/home.js"></script>
</html>
<script type="text/javascript" src="http://libs.useso.com/js/jquery/1.7.2/jquery.min.js"></script> 
<script type="text/javascript">
        $("#menus").children("a").click(function(){
            $(this).addClass("cur").siblings("a").removeClass("cur");
        })
        function jumpto(inputurl) {
            document.getElementById("iframe").src = inputurl
        }
</script>

 

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
html5+jq模拟杂志翻页 效果逼真 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!-- saved from url=(0070)http://www.17sucai.com/preview/3630/2014-01-20/BookPreview1/index.html --> <html xmlns="http://www.w3.org/1999/xhtml" class=" js cssanimations csstransforms3d csstransitions csstransformspreserve3d"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Book Preview with BookBlock</title> <link rel="stylesheet" type="text/css" href="./Book Preview with BookBlock_files/normalize.css"> <link rel="stylesheet" type="text/css" href="./Book Preview with BookBlock_files/demo.css"> <!--必要样式--> <link rel="stylesheet" type="text/css" href="./Book Preview with BookBlock_files/bookblock.css"> <link rel="stylesheet" type="text/css" href="./Book Preview with BookBlock_files/component.css"> <script src="./Book Preview with BookBlock_files/modernizr.custom.js"></script> </head> <body> <div id="scroll-wrap" class="container"> <div class="main"> <div id="bookshelf" class="bookshelf"> <figure class=""> <div class="perspective"><div class="book" data-book="book-1"><div class="cover"><div class="front"></div><div class="inner inner-left"></div></div><div class="inner inner-right"></div></div></div><div class="buttons"><a href="http://www.17sucai.com/preview/3630/2014-01-20/BookPreview1/index.html#">Look inside</a><a href="http://www.17sucai.com/preview/3630/2014-01-20/BookPreview1/index.html#">Details</a></div> <figcaption><h2>9 Lives <span>Andrew Hudson</span></h2></figcaption> <div class="details"> <ul> <li>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</li> <li>Graham Press</li> <li>12.09.2010</li> <li>397 pages</li> </ul> <span class="close-details"></span></div> </figure> <figure class=""> <div class="perspective"><div class="book" data-book="book-2"><div class="cover"><div class="front"></div><div class="inner inner-left"></div></div><div class="inner inner-right"></div></div></div><div class="buttons"><a href="http://www.17sucai.com/preview/3630/2014-01-20/BookPreview1/index.html#">Look inside</a><a href="http://www.17sucai.com/preview/3630/2014-01-20/BookPreview1/index.html#">Details</a></div> <figcaption><h2>Life of a worm <span>Will Flores</span></h2></figcaption> <div class="details"> <ul> <li>Understanding the life of a worm can be enlightening to anybody. Dive into the micro cosmos of a creeping and burrowing invertebrate and learn how a limbless little creature reaches happiness.</li> <li>Graham Press</li> <li>12.09.2010</li> <li>397 pages</li> </ul> <span class="close-details"></span></div> </figure> <figure class=""> <div class="perspective"><div class="book" data-book="book-8"><div class="cover"><div class="front"></div><div class="inner inner-left"></div></div><div class="inner inner-right"></div></div></div><div class="buttons"><a href="http://www.17sucai.com/preview/3630/2014-01-20/BookPreview1/index.html#">Look inside</a><a href="http://www.17sucai.com/preview/3630/2014-01-20/BookPreview1/index.html#">Details</a></div> <figcaption><h2>Lemon Rainbow <span>Christa Hausmann</span></h2></figcaption>
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值