码迷,mamicode.com
首页 > 移动开发 > 详细

html弹框效果(移动Web)

时间:2014-09-30 23:38:30      阅读:383      评论:0      收藏:0      [点我收藏+]

标签:des   style   blog   http   color   io   os   ar   java   

 1 <!DOCTYPE HTML>
 2 <html>
 3 <head>
 4 <title></title>
 5 <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
 6 <meta name="keywords" content="The free Retina Iphone web template, Andriod web template, Smartphone web template, free webdesigns for Nokia, Samsung, LG, SonyErricsson, Motorola web design" />
 7 <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
 8 
 9 <script src="js/jquery.min.js"></script>
10 <script src="js/jquery.magnific-popup.js" type="text/javascript"></script>
11 <link href="css/magnific-popup.css" rel="stylesheet" type="text/css">
12 
13 <script>
14     $(document).ready(function() {
15         $(.popup-with-zoom-anim).magnificPopup({
16             type: inline,
17             fixedContentPos: false,
18             fixedBgPos: true,
19             overflowY: auto,
20             closeBtnInside: true,
21             preloader: false,
22             midClick: true,
23             removalDelay: 300,
24             mainClass: my-mfp-zoom-in
25     });
26 });
27 </script>
28 
29 </head>
30 <body>
31 <a class="popup-with-zoom-anim" href="#small-dialog" style="font-weight: bold;"> 报名请点击</a> 
32         
33 <div id="small-dialog" class="mfp-hide">
34     <div class="pop_up">
35          <h2>现在还不是报名时间!</h2>
36          <p>详情请关注信息学院就业事务中心<br>官方微信:北林信息人<br/>二维码:<br/><center><img style="width:150px;" src="./images/xxtw.jpg"/></center></p>
37     </div>
38 </div>
39 
40 </body>
41 </html>

 

html弹框效果(移动Web)

标签:des   style   blog   http   color   io   os   ar   java   

原文地址:http://www.cnblogs.com/songacm/p/4002691.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!