- 博客(4)
- 收藏
- 关注
图片按比例缩放
<script> function resizeImg(){ var imgElement = document.getElementById('imgElement'); var iWidth = 180; var iHeight = 140; if(imgElement){ if(imgElement.width/imgEleme...
2008-06-05 22:39:08 91
firefox ie 使用prototype屏蔽右键等其他键
<script type="text/javascript" src="prototype151.js"></script> <script language="javascript" type="text/javascript"> //屏蔽右键 document.oncontextmenu=function(){return fa
2008-06-03 17:33:28 66
prototype中的注册事件
<script> ...... //this.target 事件源对象 this.eventMouseOver = this.showHandler.bindAsEventListener(this); this.eventMouseOut = this.hideHandler.bindAsEventListener(this); this.eventMouseMove = ...
2008-01-16 18:18:06 88
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人