码迷,mamicode.com
首页 >  
搜索关键字:parent    ( 6866个结果
[cross domain] four approachs to cross domain in javascript
four approachs can cross domain in javascript1.jsonp2.document.domain(only in frame and they have one same parent domain)3.window.name4.window.postMes...
分类:移动开发   时间:2014-09-02 11:47:34    阅读次数:197
类的创建
/** * @description Class 构造函数 * @function * @public */var Class = function(parent){ var Klass = function(){ this.init.apply(this,arguments) } /* @...
分类:其他好文   时间:2014-09-02 00:02:23    阅读次数:160
js获取第n个元素节点
一个获取第n个元素节点的函数,现在只能通过初入html标签获取元素,功能还不完善演示:html 1a 2bo test 3c 4d 5ejs: 1 /** 2 * 3 * @param parent父节点 4 * @param ele要选取的元素标签 ...
分类:Web程序   时间:2014-09-01 19:25:53    阅读次数:538
iframe获取父、子窗口的方法
1. jquery在iframe子页面获取父页面元素代码如下:$("#objid",parent.document)2.jquery在父页面获取iframe子页面的元素代码如下:$("#objid",document.frames('iframename').document)3.js在iframe...
分类:其他好文   时间:2014-09-01 12:15:33    阅读次数:175
Feathers基础知识
12.a>>1 等效于a/213.如果一个显示对象被scale,bitmapdata.draw的时候并不是使用它缩放后的内容。需要这么做:_local4.draw(_local3,_fadeOutMatrix);14。mask最好addChild到容器里。因为如果不addChild,parent缩放...
分类:其他好文   时间:2014-08-31 22:38:02    阅读次数:584
SQL删除主键
select a.Name as 表名,b.Xtype as 键类型,b.Name as 键名from sysobjects a,sysobjects b where a.ID=b.parent_obj and a.name='表名''and b.Xtype in('F','PK')alter ta...
分类:数据库   时间:2014-08-30 15:06:59    阅读次数:240
Duilib中各个类的简单介绍
DirectUI意为直接在父窗口上绘图(Paint on parent dc directly)。即子窗口不以窗口句柄的形式创建(windowless),只是逻辑上的窗口,绘制在父窗口之上。微软的“DirectUI”技术广泛的应用于Windows XP、Vista、Windows 7,如浏览器左侧的...
分类:其他好文   时间:2014-08-29 17:49:38    阅读次数:274
APUE学习笔记——8.3~8.4创建新进程fork()、vfork()
#include pid_t fork(void); Returns: 0 in child, process ID of child in parent,?1 on error     Unix可以使用系统函数fork()创建一个新进程。     fork()执行一次返回两次。     返回值:         0:     ...
分类:其他好文   时间:2014-08-29 14:44:18    阅读次数:207
文件夹遍历
#include "stdafx.h"#include "stdafx.h"#include #include #include void FindDir(char* parent){ HANDLE hFile = NULL; WIN32_FIND_DATAA fd = {0}; ...
分类:其他好文   时间:2014-08-28 23:53:26    阅读次数:249
自定Action Bar Style
<!--?Base?application?theme?is?the?default?theme.?--> <style?name="Theme"?parent="android:Theme"></style> <!--?Variation?on?the?Holo?Light?theme?that?styles?the?Action?Bar?...
分类:其他好文   时间:2014-08-28 17:04:11    阅读次数:244
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!