📄 xsh.asp
字号:
<!--#include file="conn.asp" -->
<!--#include file="sub.asp" -->
<%if request.QueryString("del")="all" then call Removeall()%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="css.css" rel="stylesheet" type="text/css">
<title>宏宇配件系统——销售</title>
<style type="text/css">
<!--
#div_one { position:absolute;
left:24px;
top:37px;
z-index:1;
background-color:#CCCCCC;
}
.STYLE6 {
font-family: Webdings;
color: #FFFFFF;
}
.STYLE7 {color: #FFFFFF;font-size:15px;}
.dragBar{color:#FFFFFF;
font-weight:bold;}
.redon{background-color:#F84407;}
.redout{background-color:#FF0000;}
-->
</style>
</head>
<body>
<div id="div_one">
<table border="1" cellpadding="0" cellspacing="0">
<tr bordercolor="#FFFFFF" bordercolordark="#0033FF" bordercolorlight="#000000" bgcolor="#0000FF" height="22px">
<td>
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td nowrap><span class="STYLE7"><FONT face="Webdings" size="+2" color="#00FF00">v</FONT>存货车</span></td>
<td onMouseDown="readyDrag()" id="titlediv" width="100%" align="left" valign="middle" style="display:none" nowrap> </td>
<td width="20px" align="right" valign="middle" bordercolor="#0000FF" >
<table cellpadding="0" cellspacing="0" border="1" bgcolor="#0000FF" width="100%">
<tr>
<td bordercolordark="#FF6600" bordercolorlight="#D5332B" onMouseOver="javascript:this.className='redon'" onMouseOut="javascript:this.className='redout'" class="redout" onClick="changdiv()">
<a href="#"><span class="STYLE6" id="spantitle">2</span></a></td>
</tr>
</table></td>
</tr>
</table>
</td>
</tr>
<tr bordercolor="#0000FF">
<td id="textSheet" style="display:none"></td>
</tr>
</table>
</div>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="5">
<tr>
<td><table width="97%" height="100%" border="0" align="center" class="K">
<tr>
<td><iframe name="listpj" id="listpj" height="100%" width="100%" src="screech.asp" scrolling="no"></iframe></td>
</tr>
</table></td>
</tr>
<tr height="15">
<td align="center" valign="middle" id="screchtd"><%
urlout
response.Write("<div align='center'><form action='screech.asp' method='post' name='pjlist' target='listpj'><select name='pjtype' id='pjtype' tabindex='1'>"&Chr(13)&"<option value='0'>请选择配件类型</option>"&Chr(13))
Set ors=Server.CreateObject( "ADODB.Recordset")
ors.open "select lxid,lxname from lx",conn
while ors.eof=false
response.Write("<option value='"&ors("lxid")&"'>"&ors("lxid")&"-"&ors("lxname")&"</option>")&Chr(13)
ors.movenext
wend
ors.close
set ors=nothing
conoff
response.Write("</select> ")
response.Write("<input name='pjname' type='text' id='pjname' tabindex='2' value='配件名称' size='15' onFocus=javascript:this.value=''>")
response.write(" <input type='submit' name='Submit' value=' 查 找 ' tabindex='3'></form></div>")%></td>
</tr>
</table>
<input type="hidden" name="page">
</body>
</html>
<script language="javascript" defer>
<!--
//alert(document.body.scrollHeight);
function WonResize(){
document.all("div_one").style.top=document.body.scrollHeight-82;
document.all("div_one").style.left=document.body.scrollWidth-document.body.scrollWidth*0.98;
}
WonResize();
function lmy_chage(targ,sspath,selObj){ //v3.0
var pages=document.all('Page').value;
sspath="screech.asp?Page="+pages+"&"+sspath+"&zpjxshl="+selObj.options[selObj.selectedIndex].value;
//document.write(targ.location)
eval(targ+".location='"+sspath+"'");
//eval(targ.location='"'+sspath+'"');
}
function changdiv(){
if(document.getElementById("spantitle").innerText==2){
document.all("textSheet").style.display="";
document.all("titlediv").style.display="";
document.all("spantitle").innerText="r";
document.all("screchtd").style.display="none";
document.all("div_one").style.top="50px";
document.all("div_one").style.left="50px";
}else{
WonResize();
document.all("textSheet").style.display="none";
document.all("spantitle").innerText=2;
document.all("screchtd").style.display="";
//document.all("div_one").style.left="0px";
//document.all("div_one").style.top="37px";
}}
var dragActive=0;
var draging=0;
downx=null;
downY=null;
function readyDrag(){
dragActive=1;
downX=document.all("div_one").style.pixelLeft-event.clientX;
downY=document.all("div_one").style.pixelTop-event.clientY;
document.all("div_one").style.cursor="move";
document.onmousemove=startDrag;
document.onmouseup=endDrag;
}
function startDrag(){
if(dragActive==1){
document.all("div_one").style.visibility="visible";
document.all("div_one").style.left=event.clientX+downX;
document.all("div_one").style.top=event.clientY+downY;
document.all("div_one").style.backgroundColor="#ffffff";
draging=1;
}
}
function endDrag(){
if(draging==1){
document.all("div_one").style.backgroundColor="#cccccc";
document.all("div_one").style.cursor="default";
dragActive=0;
}}
document.onselectstart=function(){return false}
function changename(selObj){
pages=document.all("Page").value;
alert(pages)
location.href ="xsh.asp?Page="+pages+"pjlx="+selObj.options[selObj.selectedIndex].value;
}
function tjuser(selObj){
if (selObj.options[selObj.selectedIndex].value==0){
// document.all("div_one").style.width="400px"
//document.all("div_one").style.height="100px"
//var page=null;
//if (document.all("page").value!="") page="?page="+document.all("page").value;
document.all("textSheet").innerHTML="<iframe name='xshpj' id='xshpj' height='100%' width='100%' src='tjuser.asp' scrolling='no'></iframe>"
}
}
-->
</script>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -