页面翻转效果

来源:互联网 发布:mac快速接入 编辑:程序博客网 时间:2024/05/01 20:54

一.http://www.17css.com/flip/

http://lab.smashup.it/flip/

    <!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>flip 插件 Demo 1</title> <style type="text/css"> .flipbox { width:500px; height:200px; line-height:200px; font-size:24px; text-align:center; color:#fff; background:#3C6;} </style> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.1/jquery-ui.min.js"></script> <script type="text/javascript" src="http://www.17css.com/works/jquery-plugins/jquery.flip.0-9-9/jquery.flip.min.js"></script> <script type="text/javascript"> $(function(){ $('a').click(function(){ $('.flipbox').flip({}); }) }) </script> </head>   <body> <div class="flipbox">Hello! I'm a flip-box! :)</div> <a href="#">翻转</a> </body> </html>

0 0
原创粉丝点击