摘要: 以前写的一个AJAX类,兼容性还不错,简单易用,记下了方便以后找 基本用法:[代码]也可以连续调用:[代码]另外还支持自定义的POST或GET方式请求,以及监视不同的HTTP状态码,自己看代码琢磨吧 完整代码:代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.co... 阅读全文
posted @ 2010-08-25 11:15 rshow 阅读(315) 评论(0) 推荐(0) 编辑
摘要: 获取元素位置坐标的JS函数,记下来,方便找代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--functionelementLeft(e){varoffset=e.offsetLeft;if(e.offsetParent!=null)offset+=e... 阅读全文
posted @ 2010-08-25 11:14 rshow 阅读(267) 评论(0) 推荐(0) 编辑