javascript css styleFloat和cssFloat

时间:2010-03-15    点击:88   
下面是兼容性代码
复制代码 代码如下:

LTFunction.setFloatStyle=function(obj,style)
{
var sty=obj.style;
if('cssFloat' in sty){
obj.style.cssFloat=style;
}else if('styleFloat' in sty){
obj.style.styleFloat=style;
}else{
throw 'set float style:'+style+'error.';
}
}
Jquery Ajax 学习实例2 向页面发出请求 返回JSon格式数据
jQuery MD5加密实现代码
js获取数组任意个不重复的随机数组元素 原创
javascript 用记忆函数快速计算递归函数
JS 密码强度验证(兼容IE,火狐,谷歌)
> 返回     
地址:上海市普陀区胶州路941号长久商务中心 电话: QQ:
© Copyright 2012 上海网络 Product All Rights Reserved