TomSun

享受编程的快乐!Attitude is everything!

导航

随笔分类 -  Javascript

摘要:<html><head><metahttp-equiv="Content-Type"content="text/html;charset=gb2312"><title>利用鼠标中键缩放图片</title><scriptlanguage="JavaScript">functionbbimg(o){varzoom=parseInt... 阅读全文

posted @ 2005-09-26 10:27 TomSun

摘要:先制作向上滚动的效果:插入代码:<!--指向链接图片url--><basehref="http://www.it365cn.com"><divid=demostyle=overflow:hidden;height:150;width:90;background:#214984;color:#ffffff><divid=demo1><!--定义图... 阅读全文

posted @ 2005-09-26 10:20 TomSun

摘要:作为模式匹配下文本替换、搜索、提取的强有力工具,正则表达式(Regular Expression)的应用已经从unix平台逐渐渗入到网络开发中了,作为服务器端/客户端的脚本开发语言JScript,正越来越多将正则表达式应用融入其中,以弥补自身在文本上处理能力的不足。在此,我们以JScript5.5版本为例,对其中的正则表达式的应用作一个概述。首先我们需要区分JScript中关于正则表达式的两个对象... 阅读全文

posted @ 2005-08-26 16:20 TomSun

摘要:<scriptlanguage="javascript"runat="server">functionMyFile(filename,filesize,type,datelastaccessed){this.filename=filename;this.filesize=filesize;this.type=type;this.datelastaccessed=datelastacce... 阅读全文

posted @ 2005-08-06 21:06 TomSun

摘要: 阅读全文

posted @ 2005-08-06 21:02 TomSun