上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 15 下一页
摘要: 阅读全文
posted @ 2008-08-21 15:22 落叶潇潇雨 阅读(702) 评论(0) 推荐(0) 编辑
摘要: 这一节我们来学习一下jQuery实现一些动画的函数,我初步试验了一下,效果非常不错。以前纯粹自己实现的渐显,渐隐等 要写很多代码的,现在基本一行搞定,大家可以试试哦。 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->函数:animate(p... 阅读全文
posted @ 2008-08-18 22:33 落叶潇潇雨 阅读(1152) 评论(0) 推荐(0) 编辑
摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->函数:$.ajax(properties) 功能:用一个http请求访问一个远程页面 返回:XMLHttpRequest 参数; (String)url请求地址, (String)type请求类型("... 阅读全文
posted @ 2008-08-17 11:34 落叶潇潇雨 阅读(1075) 评论(0) 推荐(0) 编辑
摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->函数:blur(),click(),focus(),select(),submit() 功能:这类函数主要是引发对象的相应事件 返回:jQuery对象 例子: jQuery Code $("p").c... 阅读全文
posted @ 2008-08-17 10:07 落叶潇潇雨 阅读(1843) 评论(0) 推荐(0) 编辑
摘要: 也就是对dom元素中的样式进行操作 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->函数:css(name) 功能:获取匹配元素指定属性名的值 返回:string 参数:要访问的样式属性名 例子: Retrieves the color style o... 阅读全文
posted @ 2008-08-17 08:35 落叶潇潇雨 阅读(1031) 评论(0) 推荐(0) 编辑
摘要: 也就是DOM元素的遍历 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->函数:add(expr) 功能:添加匹配表达式 返回:jQuery对象 参数:expr (String): An expression whose matched el... 阅读全文
posted @ 2008-08-17 08:21 落叶潇潇雨 阅读(868) 评论(0) 推荐(0) 编辑
摘要: 开始dom元素节点的添加删除等操作部分的函数学习 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->函数:after(content) 功能:在每个匹配的元素后面添加html内容 返回:jQuery对象 参数:content (): Cont... 阅读全文
posted @ 2008-08-16 12:48 落叶潇潇雨 阅读(949) 评论(0) 推荐(0) 编辑
摘要: 在jQuery函数系列介绍完之后,将会介绍一些比较实用的例子,供大家参考,敬请期待...... Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->函数:addClass(class) 功能:给每个匹配的元素添加类 返回:jQuery对象 参... 阅读全文
posted @ 2008-08-16 10:54 落叶潇潇雨 阅读(1248) 评论(0) 推荐(0) 编辑
摘要: jQuery无疑是现在比较流行的js开发库之一,在web开发,特别是服务器组件开发中起到了很大的作用。而且在一些公司的面试中,问及js 就问你,用过jQuery吗?没用过,那种眼神似乎你低人一等似的。废话少说,优秀的东西还是学习学习的,不管在做项目的时候,是否为了公司 整体的需要不用这个,还是值得我们好好研究下。 $(html) 功能:根据参数html创建DOM元素 返回:jQuer... 阅读全文
posted @ 2008-08-16 10:06 落叶潇潇雨 阅读(1011) 评论(2) 推荐(0) 编辑
摘要: 第一种方法:使用CSS,定义一个.noprint的class,将不打印的内容放入这个class内。 要打印的内容。哈哈! 将不打印的代码放在这里。 打印 第二种方法:指定打印区域 把要打印的内容放入一个 span或div,然后通过一个函数打印。 把要打印的内容放这里 所有内容 div2的内容 打印 function printme() { document.body.innerH... 阅读全文
posted @ 2008-08-15 14:22 落叶潇潇雨 阅读(944) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 15 下一页