制作网页的经典script代码(the classic script code for making web pages)

制作网页的经典script代码(the classic script code for making web pages)

ID:15032980

大小:28.90 KB

页数:29页

时间:2018-08-01

制作网页的经典script代码(the classic script code for making web pages)_第1页
制作网页的经典script代码(the classic script code for making web pages)_第2页
制作网页的经典script代码(the classic script code for making web pages)_第3页
制作网页的经典script代码(the classic script code for making web pages)_第4页
制作网页的经典script代码(the classic script code for making web pages)_第5页
资源描述:

《制作网页的经典script代码(the classic script code for making web pages)》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库

1、制作网页的经典script代码(Theclassicscriptcodeformakingwebpages)TheclassicscriptcodeformakingwebpagesAuthor:unknownsource:Chinesesourcestation-thewebmaster'sownsourcedownloadstation!Releasetime:2006-7-299:35:27[font:large,mediumandsmall]1,getthecurrentwebaddressResponse.Write"

2、t>document.write(window.location.href);""Url=Request.CurrentExecutionFilePath.ToString()1,returntothepreviouspagereturntothepreviouspage1,emptyautomatically

3、nMouseOver="(this.focus)"onMouseOut="if(this.value=='')this.value='http://';"onFocus="(this.select)"onClick="if(this.value=='http://')this.value=''"onblur="if(this.value=='')this.value='search'>1.'encodesthespeechsothatitdoesnotsupporttheHTMLsyntaxSays=Server.HTMLEncode(says)1.doubleclickthe

4、pageautomaticallyscroll,clickstop.Varcurrentpos,timer;Functioninitialize(){timer=setInterval(ScrollWindow()),16)}FunctionSC(){ClearInterval(timer);}FunctionScrollWindow(){currentpos=document.body.scrollTop;Window.scroll(0,++currentpos);If(currentpos==document.body.

5、scrollTop)(SC);}Document.onmousedown=scDocument.ondblclick=initialize1.Document.write(lastupdatetime:+document.lastModified+)1.countdowntofestivalsVartimedate=newDate("October12002");Vartimes="NationalDay"";Varnow=newD

6、ate();Vardate=timedate.getTime()-now.getTime();Vartime=Math.floor(date/(1000*60*60*24));If(time=0)Document.write(nowoff"+times+"and"+time+"heaven")1.displaysystemcurrentdateToday=newDate();Functiondate(){This.length=date.arguments.lengthFor(VaRi=0;i

7、ength;i++)This[i+1]=date.arguments}Vard=newdate(Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday);Document.write"",Today.getYear(),"year",today.getMonth()+1,"month",today.getDate(),"day"

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。