Archive for the ‘ajax’ Category



<dl> <dt>品牌:</dt> <dd> <div> <input  checked=”checked” type=”checkbox” id=”s0″/> <label for=”s0″>全部</label> </div> <div> <input   type=”checkbox” id=”s0″/> <label for=”s0″>诺基亚</label> </div> <div> <input   type=”checkbox” id=”s0″/> <label for=”s0″>摩托罗拉</label> </div> <div> <input   type=”checkbox” id=”s0″/> <label for=”s0″>多普达</label> </div> </dd> <div></div> </dl> 如果被选中checkbox【多普达】点击事件后,第一个全部checkbox要设为没被选中 jQuery(“div:first input[type=checkbox]“,jQuery(this).parent().parent()).attr(‘checked’,”) jQuery(this).parent().parent()指的是input的父类div再父类就是dd,这个是设置它的作用域,在iframe多级调用里面也是如此设置 详细看:http://www.qk31.com/2010/03/25/jquery-%E5%AD%90%E8%B0%83%E7%88%B6%E5%86%99%E6%B3%95-%E4%BB%A5%E5%8F%8Aiframe%E8%B0%83%E7%88%B6%E8%B0%83%E5%85%B6%E4%BB%96%E5%AD%90iframe-%EF%BC%88children-iframe-find-parent-document-to-set-another/ 前面意思:div第一个元素 下面type为checkbox

http://ryanwilliams.org/2009/jul/28/search-light-jquery-plugin/#post-comments http://www.webresourcesdepot.com/sliding-top-menu-with-jquery

如何在 IETester中使用Firebug 安装好IETester后再安装Debugbar,如果没有装点这个链接装好:http://files.cnblogs.com/golbz /install-debugbar-v5.2.2.zip(官方链接好像被墙了…无语…) 安装好Debugbar之后,在IETester中依次点<开发人员工具>–<Debugbar插件>–<脚 本> 在最下方的 //JavaScript控制台下面输入 var s = document.createElement(“script”); s.src = ‘http://getfirebug.com/releases/lite/1.2/firebug-lite-compressed.js’; s.type=”text/javascript”; if(document.all){ s.onreadystatechange = function(){ if(this.readyState == “loaded” || this.readyState == “complete”){ alert(“loaded success in ie”); } } } else { s.onload = function(){ alert(“load success”); } } document.body.appendChild(s); 这里的思路是动态创建一个script标签,然后监听它的onload事件,当它加载完成时,会alert一下加载成功信息。运行脚 本,等到弹出”loaded success in ie”后,表示我们的firebug组件的脚本已经加载进来了。但此时,firebug的界面并没有出现!别着急,我们将输入框中的代码清除掉,再输入如 下代码: firebug.init(); 运行它,过一会儿,就会看到firebug的界面出现了! 参考: 1.http://hi.baidu.com/cly84920/blog/item/20640158a197d68b810a187e.html 2.http://ooxx.me/ietester-debugbar.orz

在view里面只要这样就可以引入jquery 引入外面网址 引入本地站点 引入css

jquery 幻灯新闻 例子(demo):http://demo.webdeveloperplus.com/featured-content-slider/ http://www.phpdemos.com.br/detail/265/easynews-plugin-jquery.html http://css-tricks.com/creating-a-slick-auto-playing-featured-content-slider/ http://css-tricks.com/examples/FeaturedContentSlider/ s3Slider jQuery plugin http://www.serie3.info/s3slider/demonstration.html http://billwscott.com/carousel/carousel_tabs.html# http://workshop.rs/projects/jqfancytransitions/ http://css-tricks.com/examples/StartStopSlider http://www.jumpeyecomponents.com/Flash-Components/User-Interface/JC-Play-List-285/examples.htm

处理方法如下

直以来,由于缺乏规范的调试环境和强大的开发平台。在HTML、CSS和JavaScript等技术上,人们要所投入大量的时间和精力进行枯燥的测试。然而,Firebug的出现极大地节约了Web开发者的开发时间。尤其是其JavaScript控制台(Console)让开发者手中的HTML页面活了起来。 我们平时接触最多的,就是console.log、console.info和console.error了:无论是直接输出JavaScript的运行结果,还是和ActionScript配合进行HTML中的ActionScript-JavaScript连调,这些方法都十分好用。只需要一个简单的console.log(someVariable);或者在ActionScript中一行com.flash.external.ExternalInterface.call(“console.log”,someVariable);就能看到变量(表达式)的结果。 然而,Console其实还提供许多强大的API接口。许多朋友似乎还不知道。下面就分享几个我所知道的,欢迎补充。 console.dir(anyObject) – 直接输出对象的结构,范例如图: console.dirxml(anyDOMNode) – 类似上例,按缩进格式输出一段HTML结点的内容,如图: console.time(slugName) – console.timeEnd(slugName) – 记录某一个时间戳的执行时间,可用于优化循环语句,如图: console.group() – console.groupEnd() – 分组输出内容,看图就明白了: 本文来自:http://www.awflasher.com/blog/archives/1625

子调父写法 jquery写法 子iframe调父调其他子iframe (children iframe find parent document to set another iframe params) 子子iframe调子iframe调父再调子子iframe 针对问题:iframe下面有个页面要做ajax调用iframe里面iframe做下载隐藏操作时候处理


About this blog

QK31欢迎你的到来.

Photostream

search_extends

 

2010年九月
« 八    
 12345
6789101112
13141516171819
20212223242526
27282930  

36
Unique
Visitors
Powered By Google Analytics

分类目录

标签云