<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<style type="text/css">
*
{
padding: 0px;
margin: 0px;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<div id="all" style="background-color: #eeeeee; position: relative;">
<div id="showbox" style="position: absolute; z-index: 100;">
<div id="left" style="width: 0px; background-color: #ffffff; display: none;">
<div style="width: 300px; margin-top: 15px; margin-left: 15px;">
<a class="button" id="btnAdd" runat="server" style="margin-left: 10px;"><span>新增</span></a>
<a class="button" id="btnCopy" runat="server" style="margin-left: 10px;"><span>复制材料</span></a>
<a class="button" id="btnSave" runat="server" style="margin-left: 10px;"><span>保存</span></a>
<a class="button" id="btnSearch" runat="server" style="margin-left: 10px;"><span>查询</span></a>
</div>
<div style="width: 300px; margin-top: 10px;">
<div style="float: left; padding-top: 7px; width: 75px; text-align: right;">
<span>材料名称</span>
</div>
<div style="float: left;">
<asp:TextBox ID="txtLoginName" MaxLength="20" Width="203px" runat="server" CssClass="newText"></asp:TextBox>
</div>
</div>
<div style="width: 300px; margin-top: 10px;">
<div style="float: left; padding-top: 7px; width: 75px; text-align: right;">
<span>编辑时间</span>
</div>
<div style="float: left;">
<asp:TextBox CssClass="Wdate" ID="TextBox2" runat="server" MaxLength="50" class="input"
Width="90px" InputType="date" οnfοcus="new WdatePicker(this,null,false,'whyGreen')"></asp:TextBox>
</div>
<div style="float: left; padding-top: 7px; width: 15px; text-align: right;">
<span>至</span>
</div>
<div style="float: left;">
<asp:TextBox CssClass="Wdate" ID="TextBox1" runat="server" MaxLength="50" class="input"
Width="90px" InputType="date" οnfοcus="new WdatePicker(this,null,false,'whyGreen')"></asp:TextBox>
</div>
</div>
<div style="width: 300px; margin-top: 10px;">
<div style="float: left; padding-top: 7px; width: 75px; text-align: right;">
<span>关联会议</span>
</div>
<div style="float: left;">
<asp:TextBox ID="TextBox3" MaxLength="20" Width="203px" runat="server" CssClass="newText"></asp:TextBox>
</div>
</div>
<div style="width: 390px; margin-top: 10px;">
<div class="pageContentData">
<asp:Repeater ID="rptData" runat="server">
<HeaderTemplate>
<table width="98%" class="mytable newTable">
<thead>
<tr>
<th class="td1" width="3%">
序号
</th>
<th class="td1" width="10%">
材料名称
</th>
<th class="td1" width="8%">
编辑时间
</th>
<th class="td1" width="10%">
关联会议
</th>
</tr>
</thead>
<tbody>
</HeaderTemplate>
<ItemTemplate>
<tr class="alterRows">
<td class="td1" style="text-align: center;">
<%# DataBinder.Eval(Container.DataItem, "xh")%>
</td>
<td class="td1" style="text-align: center;">
<%# DataBinder.Eval(Container.DataItem, "xm")%>
</td>
<td class="td1" style="text-align: center;">
<%# DataBinder.Eval(Container.DataItem, "dj")%>
</td>
<td class="td1" style="text-align: center;">
<%# DataBinder.Eval(Container.DataItem, "bm")%>
</td>
</tr>
</ItemTemplate>
<FooterTemplate>
</tbody> </table>
</FooterTemplate>
</asp:Repeater>
</div>
</div>
</div>
</div>
</div>
</ContentTemplate>
</asp:UpdatePanel>
<div id="top" style="width: 100%; height: 30px; background-color: #eeff00;">
<div style="width: 300px; height: 30px; background-color: #999999; margin: 0 auto;">
</div>
</div>
<div style="width: 800px; height: 650px; background-color: #ffee99;">
</div>
</form>
</body>
</html>
<script type="text/javascript">
var xx, yy;
jQuery(document).ready(function () {
var timer = setInterval("CountDown()", 1000);
//捕捉鼠标位置
jQuery(document).mousemove(function (e) {
xx = e.originalEvent.x || e.originalEvent.layerX || 0;
yy = e.originalEvent.y || e.originalEvent.layerY || 0;
});
jQuery("#left").css("height", jQuery(document).height() * 0.8);
jQuery("#showbox").css("margin-top", jQuery(document).height() * 0.1);
});
function CountDown() {
if (xx < 20 && yy > (jQuery(document).height() - jQuery("#left").height()) / 2 && yy < jQuery(document).height() / 2 + jQuery("#left").height() / 2) {
if (jQuery("#left").css('width') == '0px') {
jQuery("#left").show();
jQuery("#left").animate({ width: 400 }, "slow");
}
}
if (jQuery("#left").width() == 400 && (xx > jQuery("#left").width() || yy < (jQuery(document).height() - jQuery("#left").height()) / 2 || yy > jQuery(document).height() / 2 + jQuery("#left").height() / 2)) {
jQuery("#left").animate({ width: 0 }, "slow", function () {
jQuery("#left").hide();
});
}
}
</script>