<%@Language=VBScript%><%Response.Buffer=trueResponse.Expires=0Response.ExpiresAbsolute=now()-1Response.Addheader"cache-control","private"Response.Addheader"pragma","no-cache"%><!DOCTYPEhtmlPUBLIC"-//W3C//Dtdhtml4.0Transitional//EN"><html><body><tablewidth=100%border=...
http://www.jb51.net//article/4774.htm
请问如何做一个专业的图片计数器? <%countlong=8 '定义计数器位数. OnErrorResumeNext '忽略所有的错误. count=server.mappath(count.txt) setcou=server.createobject(scripting.filesystemobject) setout=cou.opentextfile(count,1,false,false) counter=out.readline out.close '打开count.txt,读出目前计数器的值....
http://www.jb51.net//article/4767.htm
chunfeng.asp'该页面可以看到已安排了哪些事情,并在底部链接可按月前后翻动.'该代码包含获得数据连接的函数,如果数据源一旦有变化,则只有一个位置需要编辑连接信息(服务器、用户和口令). <@LANGUAGE="VBscript" ENABLESESSIONSTATE=False%> <% '表头包括用来启动所有页的文件,包括全局函数. OptionExplicit Response.Buffer=True Response.Expires=0 subDochunfeng(strtitle) ...
http://www.jb51.net//article/4755.htm
<%CountdownDate=#1/1/200800:00:00AM#IfDate>=CountdownDateThen Response.Write"2008 北京" Response.EndEndIftheDate =NowDaysLeft =DateDiff("d",theDate,CountdownDate)-1theDate =DateAdd("d",DaysLeft,theDate)HoursLeft =DateDiff("h",theDa...
http://www.jb51.net//article/4754.htm
manage.asp'登录页面.<%@Language=VBScript%><html><body><formname="Login"method="Post"action="login.asp"><inputtype="text"name="username"size="20">用户名<br><inputtype="password"name="password"size="20">口令<br><inputtype="submit"name="btnLogin"value="登录">&...
http://www.jb51.net//article/4740.htm
newdoc.asp<%@Language=VBScript%><scriptid=DebugDirectivesrunat=serverlanguage=javascript>//Setthesetotruetoenabledebuggingortracing@set@debug=false@set@trace=false</script><html><head><METAname=VI60_defaultClientScriptcontent=VBScript><METANAME="GENERATOR"C...
http://www.jb51.net//article/4727.htm
<formname=f1METHOD="POST"><%OpenDBobjConn,"xxxx"SetRSClass=objConn.Execute("select*fromclassOrderbyfldClass")IfRSClass.EOFThenResponse.Write"噢,没有记录!<BR>"ElseResponse.Write"<selectNAME=""class""style=""FONT-SIZE:9pt""SIZE=10""ONCHANGE=""classselected(this);"">"sjavascript="fu...
http://www.jb51.net//article/4688.htm
<% DimbSurvey '是否显示调查表 constbID="1" '调查表的id bSurvey=false '检查调查表是否已经显示过. ifinstr(request.Cookies("s"),":"&bID&":")=0then '如果调查表没有显示,更新Cookie response.Cookies("s").expires=DateAdd("d",6...
http://www.jb51.net//article/4682.htm
如何通过JAVASCRIPT实现当点击相应的单元格,该单元格内文本变成可编辑的INPUT或SELECT,离开单元格后又单元格内文本为修改后文本。我通过以下方法来实现点击单元格变成INPUT,可不知该在点其它单元格后恢复文本状态和如何返回INPUT后修改的值。是否有更好的方法来实现该效果。[html]<script language="javascript">window.attachEvent("onload", getTable);function getTable(){ for(i=0; i&...
http://www.jb51.net//article/2311.htm
共有:9/10,当前1/1页
[首页] [上一页]
1
[下一页] [尾页]
转到:
