![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Javascript | Ajax | CSS
qichunren
这个作者很懒,什么都没留下…
展开
-
Javascript实现图片缩放效果
[code="javascript"]function setZoom(img, dir, width, height, margin, zIndex, delay) { setTimeout(function() { if (img.dir==dir) { img.style.width=width; img.style.height=heig...2008-06-11 10:42:36 · 155 阅读 · 0 评论 -
Prototype的学习笔记
一般JS类都如下方式写[code="java"]var MyClass = Class.create(); MyClass.prototype = { initialize : function(){ }, method_1: function(){ ...... }, meth...2008-02-16 17:51:50 · 188 阅读 · 0 评论 -
Prototype中怎么样使用Ajax.Updater的回调函数?
怎么样使用Ajax.Updater的回调函数?我使用Ajax.Updater来做管理员登录,不知道如何处理页面转向程序演示地址:http://www.20zone.cn/login_old.jsp帐号和密码分别是admin和123登录按钮所触发的js代码如下:[code="js"]function dosubmit(){ new Ajax.Updater(...2008-02-25 17:20:11 · 108 阅读 · 0 评论 -
Prototype中的Event.observe用法
使用Event.observe可以更好地让页面元素与js代码分离,如下面的代码.[code="html"] 测试 请输入: Event.observe('btn_test', 'click', test); function test(){ alert("弹出消息!!!"); }...2008-05-24 17:47:15 · 1064 阅读 · 0 评论