码迷,mamicode.com
首页 >  
搜索关键字:parent    ( 6866个结果
jQuery 中$(this).parent().parent().remove()无效。
在写文章系统的删除功能。需要删除一行数据。在删除的页面,需要jQuery 删除一hang. 局部刷新数据。 $(".del").click(function(){ var id = $(this).attr("hid"); var t = $(this)....
分类:Web程序   时间:2014-07-22 22:53:15    阅读次数:1234
FIFO
Pipes have no names, and their biggest disadvantage is that they can be used ?only?between processes that have a parent process in common. Two unrelated processes can-? not create a pipe betwee...
分类:其他好文   时间:2014-07-21 10:36:45    阅读次数:237
替换Fragment 报错 The specified child already has a parent. You must call removeView() on the child's parent first.
在将一个fragment替换到一个frameLayout的时候报错:code: transaction.replace(R.id.fragment_container, fragment2);错误: java.lang.IllegalStateException: The specified chi...
分类:其他好文   时间:2014-07-21 08:03:10    阅读次数:217
Android Measure中对应方法解析
注:根据网上资料整理如下首先 onMeasure方法是为了得到各个View大小的函数fill_parent-->public static final int EXACTLY = 1 public static final int AT_MOST = 2 << MODE_SHIFT;这是makeMe...
分类:移动开发   时间:2014-07-19 19:14:11    阅读次数:241
转:maven3常用POM属性及Settings属性介绍
原文:http://blog.csdn.net/lgm277531070/article/details/6922645 A.pom.xml属性介绍: project: pom的xml根元素。 parent: 声明继承。 modules: 声明聚合,该值是一个当前POM的相对目录。用户项目的聚合。 ...
分类:其他好文   时间:2014-07-19 18:21:07    阅读次数:163
Android学习笔记——Handler实例
Handler的实质就是异步消息处理。实例一:Handler的基本用法XML布局代码:<LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> <T..
分类:移动开发   时间:2014-07-19 16:28:30    阅读次数:334
JavaScript Patterns 6.4 Prototypal Inheritance
Use an empty temporary constructor function F(). Set the prototype of F() to be the parent object. Return a new instance of the temporary construct...
分类:编程语言   时间:2014-07-19 08:36:01    阅读次数:276
android中怎么把自己需要的app启动图标集中到一个弹出框中
先看效果图 这个是我们自己的apk点击之后的效果 下边是布局文件 activity_main.xml主布局文件     xmlns:tools="http://schemas.android.com/tools"     android:layout_width="match_parent"     android:layout_height="matc...
分类:移动开发   时间:2014-07-19 02:15:46    阅读次数:280
关于屏幕适配的几点建议
1、不要使用绝对布局2、尽量使用match_parent而不是fill_parent。3、能够使用权重的地方尽量使用权重(android:layout_weight)4、如果是纯色背景,尽量使用android的shape自定义。5、如果需要在特定分辨率下适配,可以在res目录上新建layout-Hx...
分类:其他好文   时间:2014-07-18 15:02:25    阅读次数:262
javascript父、子页面交互小结
帧用来存放子页面,既可以是iframe,又可以是frameset。window对象是全局对象,页面上的一切函数和对象都在它的作用域里。 1、parent代表父窗口、如果父窗口又存在若干层嵌套,则top代表顶级父窗口。self代表窗口自身。Java代码if(self==top){//}判断窗口是否处....
分类:编程语言   时间:2014-07-18 12:10:41    阅读次数:239
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!