@model Web.Manager.Models.SendMessage

@{
ViewBag.Title = "消息发布";
Layout = null;
}

<link href="@Url.Content("~/Styles/Layout/style.css")" rel="stylesheet" type="text/css" />
<link href="@Url.Content("~/Styles/Layout/bootstrap.css")" rel="stylesheet" type="text/css" />
<link href="@Url.Content("~/Styles/SendMessage.css")" rel="stylesheet" type="text/css" />
<script src="@Url.Content("~/Scripts/jquery-1.11.1.js")"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.js")"></script>

<style type="text/css">
body {
font-size: 12px;
font-family:Arial 'Microsoft YaHei';
}

ul li {
list-style-type: none;
}

dl {
padding: 2px;
}

dd {
position: absolute;
margin-left: 100px;
height: 23px;
}

dt {
position: absolute;
font-weight: normal;
height: 23px;
}

.divMainContent {
text-align: center;
height: 32px;
font-size: 12px;
}

.btnRole {
margin-left: 68px;
margin-top:-8px;
min-width: 160px;
max-width: 160px;
}

.btnSearch {
margin-left: 6px;
margin-top:-8px;
width: 60px;
}
input {
font-size: 12px;
font-family:Arial 'Microsoft YaHei';
}
.divDalog{
margin-left:380px;
margin-top:120px;
position:absolute;
height:300px;
width:400px;
border:1px solid #CCC;
background:#ffffff;
display:none;
}
.closeCss{
text-align:right;
}
.divDalogContent{
margin:2px;
}
.black_overlay{
display: none;
position: absolute;
top: 0%;
left: 0%;
width: 100%;
height: 100%;
background-color: black;
z-index:1001;
-moz-opacity: 0.8;
opacity:.80;
filter: alpha(opacity=88);
}
.white_content {
display: none;
position: absolute;
top: 25%;
left: 25%;
width: 55%;
height: 55%;
padding: 12px;
border: 1px solid #0409ff;
background-color: white;
z-index:1002;
overflow: auto;
}
</style>

<script type="text/javascript">
function CloseDiv() {
document.getElementById('light').style.display = 'none';
document.getElementById('fade').style.display = 'none';
}
function ShowDiv(data) {
document.getElementById('light').style.display = 'block';
document.getElementById('fade').style.display = 'block';
$.ajax({
url: "/Message/SendMessageDialog?dataType=" + data,
type: "POST",
contentType: "application/json; charset=utf-8",
data: {},
dataType: "html",
success: function (result) {
var closeHtml = "<div class='closeCss'><a href='javascript:void(0)' onclick='CloseDiv();'>关闭</a></div>";
var result = closeHtml + "<p><div class='divDalogContent'>" + result + "</div></p>";
$("#light").html(result);
},
error: function () {
}
});
}
</script>

<div style="width:600px;height:620px;margin:6px 0px 6px 300px;border:1px solid #CCC;border-style:dashed; position:absolute;">
@using (Html.BeginForm("SendMessage", "Message", FormMethod.Post, new { id = "FromSend" }))
{
<p style="font-weight:600;">当前位置:消息发布</p>
<dl>
<dt>消息类型:</dt>
<dd>
<select id="Select1">
<option></option>
</select>
</dd>
</dl>
<dl>
<dt>账号关键字:</dt>
<dd>
<input type="text" style="width:120px;" />
<input type="button" class="btnRole" onclick="javascript:ShowDiv('PartialPageSelectRole');" value="选择角色" />
<input type="button" class="btnSearch" value="搜索" />
</dd>
</dl>
<div style="padding-top:20px;position:absolute;">
<div style="height:200px;width:200px;border:1px solid #CCC;">
<ul>
<li><input id=" checkbox1" type="checkbox" />全选</li>
<li><input id="Checkbox1" type="checkbox" />1111111</li>
<li><input id="Checkbox1" type="checkbox" />2222222</li>
</ul>
</div>
<div style="width:200px;">
<span style="text-align:right">共<span style="color:red;">10</span>条记录</span>
</div>
</div>
<div style="padding-top:20px;margin-left:196px;height:200px; position:absolute;">
<ul>
<li><input type="button" style="margin-top:60px;width:60px;height:21px;" value=">>" /></li>
<li><input type="button" style="margin-top:30px;width:60px;height:21px;" value="<<" /></li>
</ul>
</div>
<div style="padding-top:20px;margin-left:300px; position:absolute;">
<div style="height:200px;width:200px;border:1px solid #CCC;">
<ul>
<li><input id=" checkbox1" type="checkbox" />全选</li>
<li><input id="Checkbox1" type="checkbox" />1111111</li>
<li><input id="Checkbox1" type="checkbox" />2222222</li>
</ul>
</div>
<div style="width:200px;">
<span style="text-align:right">共<span style="color:red;">10</span>条记录</span>
</div>
</div>
<div style="margin-top:280px;">
<dl>
<dt>消息主题:</dt>
<dd>
<input type="text" />
<input type="button" onclick="javascript:ShowDiv('PartialPageSelecProduct');"
style="margin-top:-12px;margin-left:32px;min-width: 160px;max-width: 160px;" value="选择产品" />
</dd>
</dl>
<dl>
<dt>消息内容:</dt>
<dd>
<textarea style="height:190px;width:402px;"></textarea>
</dd>
</dl>
<dl style="margin-top:196px;margin-left:100px;">
<dt><input type="button" value="确定" /></dt>
<dd><input type="button" style="margin-left:-46px;" value="重置" /></dd>
</dl>
</div>
}
</div>
<div id="light" class="white_content">
</div>
<div id="fade" class="black_overlay"></div>

hmtl弹出框样式的更多相关文章

  1. Jquery-UI实现弹出框样式

    需要引用 <link href="CSS/jquery-ui.custom.min.css" rel="stylesheet" /> <scr ...

  2. android自定义弹出框样式实现

    前言: 做项目时,感觉Android自带的弹出框样式比较丑,很多应用都是自己做的弹出框,这里也试着自己做了一个. 废话不说先上图片: 实现机制 1.先自定义一个弹出框的样式 2.自己实现CustomD ...

  3. menu-普通menu弹出框样式

    今天接触到了menu弹出框样式.主要就是在theme下进行调整.现在把接触到的知识点总结一下. 在theme中,跟menu有关的几个属性如下 <item name="panelBack ...

  4. Android窗口为弹出框样式

    1.XML android:theme="@android:style/Theme.Dialog <?xml version="1.0" encoding=&quo ...

  5. Bootstrap弹出框(modal)垂直居中

    最近在做一个eit项目,由于此项目里面一些框架要遵循nttdata的一些规则,故用到了Bootstrap这个东东,第一次碰到这个东东,有很大抵触,觉得不好,但用起来我觉得和别的弹出框真没什么两样.废话 ...

  6. 弹出框JBox实例

    前几天做的考试系统的一些后台弹出框的一些模板.主要是因为普通的弹出框样式不是很好,颜色也不能调换.这里我们用的是JBox,还是从师傅那得知的.自己小实验了下,这里就做个小结. JBox 插件说明 - ...

  7. 四种常见的提示弹出框(success,warning,error,loading)原生JavaScript和jQuery分别实现

    原文:四种常见的提示弹出框(success,warning,error,loading)原生JavaScript和jQuery分别实现 虽然说现在官方的自带插件已经有很多了,但是有时候往往不能满足我们 ...

  8. javascript基于对象的弹出框封装

    先睹为快,移动端:戳这里,打开页面后点击投票查看效果.PC端测试直接切换body的overflow属性:hidden和auto一样可以,比下面相对简化,又有人说这样偶尔不行..如果你知道优缺点欢迎给出 ...

  9. js登录弹出框插件

    第一步:页面引入css:<link rel="stylesheet" type="text/css"" href="common/cs ...

随机推荐

  1. ased

    1.document.write(""); 输出语句 2.JS 中的注释为 // 3. 传统的 HTML 文档顺序是 :document->html->(head,bo ...

  2. 在linux中使用cmake编译运行cocos2d-x 3.4 projects

    原因: 由于不想在真机环境和 ide中调试环境, 只想在linux端进行 调试和运行, 需要使用cmake对现有的游戏进行编译(cocos2dx-lua 3.4) 修改步骤: 1.修改framewor ...

  3. iOS 自定义选项卡-CYLTabBarController

    正常的选项卡流程 cocoapods就不说了 创建一个CYLTabBarControllerConfig类 #import <Foundation/Foundation.h> #impor ...

  4. 汇编语言基础 debug的使用

    -r 查看,改变CPU寄存器的内容 -r 加上寄存器名 在:后输入要写入的数据后 完成更改 debug 随着CS IP的改变 对应的汇编指令也不同 -r ip -r cs修改 ip cs 的值 d 段 ...

  5. 简易c语言文法

    <程序>→<外部声明>|<程序><外部声明> <外部声明>→<函数定义>|<声明> <函数定义>→< ...

  6. Linux破解root密码

    实验环境                 虚拟机软件:VMware Workstation                 操作系统:Read Hat Enteprise 6.3      1.破解r ...

  7. OkHttp和Volley对比

    OkHttp 物理质量 使用OkHttp需要 okio.jar (80k), okhttp.jar(330k)这2个jar包,总大小差不多400k,加上自己的封装,差不多得410k. 功能介绍 Squ ...

  8. 使用lua实现一个简单的事件派发器

    设计一个简单的事件派发器,个人觉得最重要的一点就是如何保证事件派发过程中,添加或删除同类事件,不影响事件迭代顺序和结果,只要解决这一点,其它都好办. 为了使用pairs遍历函数,重写了pairs(lu ...

  9. Windows环境下npm install常见错误

    Windows环境下npm install安装包依赖时,常出现一些错误,下面为个人解决办法: 错误一 缺少python环境: G:\nodejs\moviesite\node_modules\bcry ...

  10. 时间戳 JavaScript parse() 方法 处理技巧

    返回1970/01/01至2012/3/21之间的毫秒数: var d = Date.parse("March 21, 2012"); d 输出结果: 1332259200000 ...