首页 > 数据库技术 > 详细

MySQL创建计算字段——MySQL系列(五)

时间:2014-04-02 09:11:30      阅读:509      评论:0      收藏:0      [点我收藏+]
<!DOCTYPE html>
<html>
<head>
    <title>遮罩函数</title>
    <meta charset="UTF-8"/>
    <style type="text/css">
        #zhezhao{
            width: 100%;
            height: 100%;
            background: gray;
            display:none;
            position: absolute;
            left: 0;
            top: 0;
        }
        #contains{
            width: 520px;
            height: auto;
            background: #fff;
            display: none;
            position: absolute;
            left: 400px;
            top: 70px;
        }
    </style>
    <script type="text/javascript">
        function show(){
            document.getElementById("zhezhao").style.display="block";
            document.getElementById("contains").style.display="";
            document.getElementById("zhezhao").style.filter="Alpha(Opacity=50)";
        }
        function hide(){
            document.getElementById("zhezhao").style.display="none";
            document.getElementById("contains").style.display="none";
        }
    </script>
</head>
<body>
    <input type="button" value="显示遮罩" onclick="show()"/>
    <div id="zhezhao">
        <form>
            <p><label>请输入用户名:</label><input type="text" name="name"/></p>
            <p><label>请输入密码:<input type="password"name="pwd"/></label></p>
            <input type="button" value="隐藏遮罩" onclick="hide()"/>
        </form>
    </div>
    <div id="contains">

    </div>
</body>
</html>

MySQL创建计算字段——MySQL系列(五),布布扣,bubuko.com

MySQL创建计算字段——MySQL系列(五)

原文:http://blog.csdn.net/vvhesj/article/details/22749957

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!