jsPanel -弹出层,弹出窗口
XML/HTML Code
- <script type="text/javascript" src="../../js/jquery-1.9.1.min.js"></script>
- <script src="vendor/jquery-ui-1.11.4.complete/jquery-ui.min.js"></script>
- <script src="vendor/jquery.ui.touch-punch.min.js"></script>
- <!-- loading jsPanel javascript -->
- <script src="source/jquery.jspanel-compiled.js"></script>
- <script>
- window.setTimeout(function () {
- $.jsPanel({
- headerTitle: "Example jsPanel",
- theme: "rebeccapurple",
- content: "<h3>Lorem ipsum dolor ...</h3><p>... sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam ...</p>",
- callback: function () {
- this.content.css("padding", "15px")
- }
- });
- }, 1000);
- </script>
原文地址:http://www.freejs.net/article_jquerywenzi_566.html