Location:
Search - js div T
Search list
Description: <!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 id="ctl00_Head1"><title>
协同办公系统
</title><link rel="Stylesheet" type="text/css" href="CSS/master.css" />
<link rel="Stylesheet" type="text/css" href="CSS/sitecooperateCss.css" />
<style type="text/css">
.Task_Default_Grid { border:0}
.Task_Default_Grid tr td { height:25px; line-height:25px; color:#0173BC; border:0; color:#6E6F71}
.Task_Default_Grid tr td a { color:#0073BC}
.Task_Default_Title { height:25px; line-height:25px; border-bottom:1px solid #999; color:#333333; font-weight:bold }
.Task_Default_Head { height:25px; line-height:25px; text-align:left; font-weight:lighter; }
.Task_Default_Head th { text-align:left; border:0;}
#Content_right tr td { vertical-align:top}
.mobanul { list-style:none; list-style-type:none; margin:0; padding:0}
.mobanul li { height:26px; line-height:26px;}
.mobanul li a { color:#0073BC}
</style>
<script type="text/javascript">
var w1 = screen.width;
var w2 = w1 - 30;
var h1 = screen.height;
var h2 = 650;
var t1 = (h1 - h2) / 3;
//var appearence = 'dependent:yes;menubar:no;resizable:no;status:no;toolbar:no;titlebar:no;left:5;top:50;dialogWidth:'+w2+'px; dialogHeight:602px';
var appearence = 'dependent:yes;menubar:no;resizable:no;status:no;toolbar:no;titlebar:no;dialogWidth:990px; dialogHeight:652px';
function openexamin(id) {
var url = 'Task_Examin1.aspx?ID=' + id + '&dt=20111116110724';
window.showModalDialog(url, 'none', appearence);
window.location.reload();
}
function opengoexamin(id) {
var url ='go_examin.aspx?ID=' + id + '&dt=20111116110724';
window.showModalDialog(url, "tasknew", appearence);
window.location.reload();
}
function openexaminview(id) {
var url = 'Go_Examin1.aspx?ID=' + id;
window.showModalDialog(url, "goexamin1", appearence);
window.location.reload();
}
function openexamindaiban(id) {
var url = 'Task_Examin1.aspx?daiban=1&ID=' + id + '&dt=20111116110724';
window.showModalDialog(url, 'none', appearence);
window.location.reload();
}
function openexamindaiban1(id, tasktype,url) {
if (tasktype == 'OA') {
var url1 = 'Task_Examin1.aspx?daiban=1&ID=' + id + '&dt=20111116110724';
window.showModalDialog(url1, 'none', appearence);
window.location.reload();
}
else if (tasktype == 'HR') {
window.open(url.replace('{', '=').replace('{', '=').replace('{', '=').replace('{', '=').replace('{', '=').replace('{', '=').replace('{', '='));
}
else if (tasktype == 'ERP待办') {
window.open("http://10.0.3.100:8000/"+url);
}
else {
window.open(url.replace('{', '=').replace('{', '=').replace('{', '=').replace('{', '=').replace('{', '=').replace('{', '=').replace('{', '=').replace('}', '&').replace('}', '&').replace('|', '&').replace('|', '&').replace('|}', '&').replace('|', '&').replace('|', '&').replace('|', '&').replace('*', '/').replace('*', '/').replace('*', '/').replace('*', '/').replace('*', '/'));
// window.open(url.replace(new RegExp('|', 'g'), '='));
}
}
function GetTasksWait() {
document.getElementById('ajaxwait').innerHTML = "<img src='/_layouts/images/loading.gif' align=absmiddle style='margin:20px' /><span style='color:#666'>正在加载待办事项,请稍等</span>";
AjaxService.GetWaitTasks("panr", GetGetWaitTasks);
}
function GetGetWaitTasks(res) {
document.getElementById('ajaxwait').innerHTML = res;
//window.alert(res);
}
function TaskNew(templetid) {
var url = "task_new1.aspx?templetid="+templetid;
var w1 = screen.width;
var w2 = w1 - 30;
var h1 = screen.height;
var h2 = 650;
var t1 = (h1 - h2) / 3;
var appearence = 'dependent=yes,menubar=no,resizable=no,status=no,toolbar=no,titlebar=no,left=5,top=50,width=965px,height=620px';
var openWindow = window.open(url, "tasknew", appearence);
openWindow.focus();
}
</script>
</head>
<body>
<form name="aspnetForm" method="post" action="thinkanydefault.aspx" id="aspnetForm">
<div>
<input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" />
<input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" />
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUJMTk4NTM3MDU4D2QWAmYPZBYCAgMPZBYCAgEPZBYCAgEPPCsADQEADxYEHgtfIURhdGFCb3VuZGceC18hSXRlbUNvdW50ZmRkGAEFI2N0bDAwJENvbnRlbnRQbGFjZUhvbGRlcjEkZ3JpZFRyYWRlDzwrAAoBCGZkgVPWq+n+ib9NI98bYSPgOP6wYjA=" />
</div>
<script type="text/javascript">
//<![CDATA[
var theForm = document.forms['aspnetForm'];
if (!theForm) {
theForm = document.aspnetForm;
}
function __doPostBack(eventTarget, eventArgument) {
if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
theForm.__EVENTTARGET.value = eventTarget;
theForm.__EVENTARGUMENT.value = eventArgument;
theForm.submit();
}
}
//]]>
</script>
<script src="/WebResource.axd?d=YUjlm6ycKfnreIke4GK3XQ2&t=633802920069218315" type="text/javascript"></script>
<script src="/ScriptResource.axd?d=z3KJcVLT9ijw1U1WP3pQFkrXumDsg6wUOC-1ek6Qo_XZeAuKvPuCDOgdKKFxxdmnnoXJFiMaKmNKva15-BdwOk_xeIPnLbrAuAMPt7xuJyY1&t=ffffffffec2d9970" type="text/javascript"></script>
<script src="/ScriptResource.axd?d=z3KJcVLT9ijw1U1WP3pQFkrXumDsg6wUOC-1ek6Qo_XZeAuKvPuCDOgdKKFxxdmnNTUAczOieuXP3zVeTLUjHd_cyvM_8TdB3KcMk-B-U6vUhv5N_CQBxFd9ZErk2oN20&t=ffffffffec2d9970" type="text/javascript"></script>
<script src="AjaxService.asmx/js" type="text/javascript"></script>
<div id="Content_right" style="background-image:none; padding:5px; padding-left:0px; padding-right:0px">
<script type="text/javascript">
//<![CDATA[
Sys.WebForms.PageRequestManager._initialize('ctl00$ContentPlaceHolder1$ScriptManagerAjax', document.getElementById('aspnetForm'));
Sys.WebForms.PageRequestManager.getInstance()._updateControls([], [], [], 90);
//]]>
</script>
<table style="width:100%">
<tr>
<td style="padding-left:10px;">
<span style="float:left"> 待办事项</span><br /><hr style="height:0px; color:#fff; border-top:1px solid #EBEBEB;" /></td>
<td style="padding-left:10px;">
<span style="float:left"> 跟踪事项</span><br /><hr style="height:0px; color:#fff; border-top:1px solid #EBEBEB;" /></td>
</tr>
<tr>
<td style=" padding-top:0; width:49%; padding-left: 10px; padding-right: 10px; padding-bottom: 10px;"
rowspan="4" id="ajaxwait">
</td>
<td style=" padding:10px; padding-top:0;height:145px;">
<div>
</div>
</td>
</tr>
<tr>
<td style=" padding:10px; padding-top:0; text-align:right">
<a href="OATaskTrades.aspx" style='color:#0171BD'>[更多...]</a></td>
</tr>
<tr>
<td style="padding-left:10px;">
我的模板<br /><hr style="height:0px; color:#fff; border-top:1px solid #EBEBEB;" /></td>
</tr>
<tr>
<td style=" padding:10px; padding-top:0;">
<table cellpadding=0 cellspacing=0 style="width:100%;height:145px;"><tr><td style="width:50%">
<ul class="mobanul"></ul>
</td><td>
<ul class="mobanul"></ul>
</td></tr></table>
</td>
</tr>
<tr>
<td style=" padding:10px; padding-top:0; width:49%; text-align:right">
<a href="Task_Wait.aspx" style='color:#0171BD'>[更多OA待办...]</a></td>
<td style=" padding:10px; padding-top:0; text-align:right">
<a href='PersonalTempletsSetup.aspx' style='color:#0171BD'>[更多...]</a><a href='PersonalTempletsSetup.aspx' style='color:#0171BD'>[模板配置]</a></td>
</tr>
</table>
<script type="text/javascript">
GetTasksWait();
</script>
</div>
<script type="text/javascript">
//<![CDATA[
Sys.Application.initialize();
//]]>
</script>
</form>
</body>
</html>
Platform: |
Size: 8895 |
Author: niyang2005@126.comni |
Hits:
Description: js+div实现的tab页。
使用方便,基本上不用编码
配置一下就OK了,外置CSS,方便控制样式-js+ div achieve the tab pages. Easy to use, basically no coding configuration of this, OK, external CSS, the convenience of control mode
Platform: |
Size: 27648 |
Author: allan |
Hits: