js button
来源:互联网 发布:mac flac 编辑:程序博客网 时间:2024/06/04 18:19
}
TextRtv.changeBackgroundImage1=function(image){
var el=event.srcElement;
if (el.tagName=="INPUT"&&el.type=="button"){
event.srcElement.style.backgroundImage = "url"+"("+image+")";
event.srcElement.style.cursor='hand';
}
}
TextRtv.changeBackgroundImage2=function(image){
var el=event.srcElement;
if (el.tagName=="INPUT"&&el.type=="button"){
event.srcElement.style.backgroundImage = "url"+"("+image+")";
}
}
cursor:pointer;
用JS使鼠标变小手onmouseover(鼠标越过的时候)
onmouseover="this.style.cursor='hand'"
cursor其他取值
auto :标准光标
default :标准箭头
pointer, hand :手形光标
wait :等待光标
text :I形光标
vertical-text :水平I形光标
no-drop :不可拖动光标
not-allowed :无效光标
help :帮助光标
all-scroll :三角方向标
move :移动标
crosshair :十字标
e-resize
n-resize
nw-resize
w-resize
s-resize
se-resize
sw-resize
- js button
- Qt HelloWorld 使用button显示
- Android Button、ImageButto…
- HTML 5 <button> 标签
- js 控制 button 切换
- html submit 与 button 是不同的
- js 页面刷新
- JS 身份证号码 正则 验证
- Android Button按钮两个页面切换
- 动态创建的 Button, 动…
- VC中 Radio Button的使用
- IOS UI view button 自定义颜色………
- JS 解析 JSON 及 XML
- 使用js button 弹出confirm
- jsp button事件调用js
- 服务器Button执行js方法
- cocos2d-JS 常用控件Button
- cocos-js button点击事件
- 单例模式(Singleton)
- 客户端跳转与服务器跳转区别
- Java断言——assert(转自http://cnet…
- 输出结果显示百分比
- Ext.grid.ColumnModel设置
- js button
- iBatis2之SqlMap配置(转载…
- bat文件命令(摘自网络)
- oracle表连接详解
- ibatis 实体映射(一对多)
- ibatis 插入操作 对于空值的处理
- ext window
- ibatis 配置文件及对应数据的格式…
- oracle 错误总结-ora-01033