DIV CSS 佈局教程網

 DIV+CSS佈局教程網 >> 網頁腳本 >> WEB網站前端 >> 網頁特效代碼 >> jQuery彈出可關閉遮罩層提示框
jQuery彈出可關閉遮罩層提示框
編輯:網頁特效代碼     
jQuery彈出可關閉遮罩層,效果:http://hovertree.com/texiao/layer/1/

代碼如下:<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>jQuery彈出可關閉層提示框 Reveal Demo - 何問起</title><base target="_blank" />
<!-- Attach our CSS -->
<link rel="stylesheet" href="http://hovertree.com/texiao/layer/1/reveal.css">
<!-- Attach necessary scripts -->
<script type="text/javascript" src="http://down.hovertree.com/jquery/jquery-1.4.4.min.js"></script>
<script type="text/javascript" src="http://hovertree.com/texiao/layer/1/jquery.reveal.js"></script>
<style type="text/css">
body {
font-family: "HelveticaNeue","Helvetica-Neue", "Helvetica", "Arial", sans-serif;
}

.big-link {
display: block;
margin-top: 50px;
text-align: center;
font-size: 30px;
background-color:#eeeeee;
color: #06f;
}
.hovertreeinfo{text-align:center;} .hovertreeinfo a{color:darkcyan;}
</style>

</head>
<body>
<div class="hovertreeinfo">
<h1>jQuery彈出可關閉層提示框</h1>
</div>
<a href="http://hovertree.com/h/bjaf/ati6k7yk.htm" class="big-link" data-reveal-id="myModal">
Demo 1
</a>

<a href="http://hovertree.com/hvtart/bjae/lhnydfey.htm" class="big-link" data-reveal-id="myModal" data-animation="fade">
Demo 2
</a>

<a href="http://hovertree.com/hvtart/bjae/vgte3y3a.htm" class="big-link" data-reveal-id="myModal" data-animation="none">
Demo 3
</a>

<div id="myModal" class="reveal-modal">
<h1>jquery導出層</h1>
<p>This is a default modal in all its glory, but any of the styles here can easily be changed in the CSS.
推薦使用Demo 1,和Demo 3兩種方式。何問起 hovertree.com
</p>
<a class="close-reveal-modal">&#215;</a>
</div>

<div class="hovertreeinfo">推薦使用Demo 1,和Demo 3兩種方式.
<br />
<a href="http://hovertree.com/h/bjaf/tishiceng.htm">原文</a> <a href="http://hovertree.com">首頁</a>
<a href="http://hovertree.com/texiao/">特效</a>
<br />by 何問起
hovertree.com
<br />
<!--<img src="http://hovertree.com/texiao/layer/1/modal-gloss.png" />-->
</div>
</body>
</html>
XML學習教程| jQuery入門知識| AJAX入門| Dreamweaver教程| Fireworks入門知識| SEO技巧| SEO優化集錦|
Copyright © DIV+CSS佈局教程網 All Rights Reserved