- 博客(5)
- 资源 (10)
- 收藏
- 关注
原创 图片滤镜
boby{ backgroud:#000000; } img{ filter:BlendTrans(duration=3); border:none; } function img1(x){ this.length=x; } iname = new img1(5); iname[0] = "1.jpg"; iname[1] = "2.jpg"; iname[2] = "3.jpg"; i
2009-04-27 00:22:00 298
原创 滑轮改变图片大小
function bbimg(o) { var zoom=parseInt(o.style.zoom, 10)||100;zoom+=event.wheelDelta/12;if (zoom>0) o.style.zoom=zoom+%; return false; } 然后 screen.
2009-04-27 00:20:00 409
原创 js用法
function CPos(x, y){ this.x = x; this.y = y;}function GetObjPos(ATarget){ var target = ATarget; var pos = new CPos(target.offsetLeft, target.offsetTop); var target = target.offset
2009-04-27 00:19:00 359
原创 正则
用正则表达式限制只能输入数字和英文: onkeyup="value=value.replace(/[/W]/g,) " onbeforepaste="clipboardData.setData(text,clipboardData.getData(text).replace(/[^/d]/g,))" 用正则表达式限制只能输入中文: o
2009-04-16 03:25:00 290
原创 Application, Session, Cookie, Viewstate, Cache对象用法、作用域和区别
1.Application:用于保存所有用户共用的数据信息。 在Asp.Net中类似的配置数据最好保存在Web.config文件中。如果使用Application对象,一个需要考虑的问题是任何写操作都要在 Application_OnStart事件(global.asax)中完成。尽管使用Application.Lock和 Application.Unlock方法来避免写操作的同步,但是它串行化了
2009-04-12 20:59:00 617
C#生成网页截图 C#将网页内容转换成图片保存到本地( webbrowser 可应用于B/S结构中)
2009-12-09
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人