jquery 提示框

Page.ClientScript.RegisterClientScriptBlock(this.GetType(), "", "showmes('请填写手机号码在参与!')", true);

            return;


        function showmes(mes) {
            $(document.body).append("<div class='divsmes'><img src='/img/duihao.png' /><span>" + mes + "</span></div>");
            $(".transpant").show().fadeOut(2000);
            $(".divsmes").show().fadeOut(2000);
        }



.divsmes
{
    width: 240px;
    height: 56px;
    background-color: white;
    text-align: center;
    vertical-align: middle;
    position: fixed;
    margin-top: 10px;
    top: 30%;
    left: 50%;
    margin-left: -140px;
    display: none;
    z-index: 1001;
    background-color: white;
    padding-top: 24px;
    color:#508317;
    font-weight: bold;
    font-family: Microsoft YaHei;
border:5px solid #CCC;
}
.divsmes img
{
    height: 30px;
    line-height: 30px;
    float: left;
    margin-left: 10px;
}
.divsmes span
{
    margin-top: 7px;
    display: block;
    margin-left: 7px;
    float: left;
}


.divsmess
{
    width: 240px;
    height: 54px;
    background-color: white;
    text-align: center;
    vertical-align: middle;
    position: fixed;
    top: 30%;
    left: 50%;
    margin-left: -140px;
    border-radius: 5px;
    z-index: 1001;
    padding-top: 26px;
    color: #E75530;
    font-weight: bold;
    font-family: Microsoft YaHei;
}
.divsmess img
{
    height: 30px;
    line-height: 30px;
    float: left;
    margin-left: 30px;
}
.divsmess span
{
    margin-top: 5px;
    display: block;
    margin-left: 40px;
    float: left;
}

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值