- 博客(0)
- 资源 (3)
- 收藏
- 关注
CoreAnimation
核心动画是一套包含图形绘制,投影,动画的Objective–C类集合。它通过开发人员所熟悉的应用程序套件和Cocoa Touch视图架构的抽象分层模式,同时使用先进的合作效果提供了一套流畅的动画。
2013-02-28
JQuery+1.4
对jquery的使用,jQuery 核心函数
jQuery(expr, [context])
jQuery(html, [ownerDoc])
jQuery(html, props)
jQuery(elements)
jQuery()
jQuery(callback)
jQuery 对象访问
each(callback)
size()
length
selector
context
get()
get(index)
index(subject)
数据缓存
data([name] , [value])
data(obj)
removeData(name)
$.data([el], [key], [val])
队列控制
queue(name ,[cb|queue])
dequeue(name)
clearQueue([queueName])
插件机制
jQuery.fn.extend(object)
jQuery.extend(object)
多库共存
jQuery.noConflict([ex])
属性
属性
attr(name)
attr(properties)
attr(key, value)
attr(key, fn)
removeAttr(name)
CSS 类
addClass(class | fn)
removeClass([class | fn])
toggleClass(class|fn [, sw])
HTML代码/文本/值
html( [val | fn] )
text( [val | fn] )
val( [val | fn | arr] )
CSS
CSS
css(name)
css(properties)
css(name, value | fn)
位置
offset([coordinates])
position()
scrollTop( [val] )
scrollLeft( [val] )
尺寸
height( [val] )
width( [val] )
innerHeight()
innerWidth()
outerHeight(options)
outerWidth(options)
选择器
基本
#id
element
.class
*
selector1,selector2,selectorN
层级
ancestor descendant
parent > child
prev + next
prev ~ siblings
基本
:first
:last
:not
:even
:odd
:eq
:gt
:lt
:header
:animated
内容
:contains
:empty
:has
:parent
可见性
:hidden
:visible
属性
[attribute]
[attribute=value]
[attribute!=value]
[attribute^=value]
[attribute$=value]
[attribute*=value]
[attrSel1][attrSel2][attrSelN]
子元素
:nth-child
:first-child
:last-child
:only-child
表单
:input
:text
:password
:radio
:checkbox
:submit
:image
:reset
:button
:file
:hidden
表单对象属性
:enabled
:disabled
:checked
:selected
文档处理
内部插入
append(content | fn)
appendTo(content)
prepend(content | fn)
prependTo(content)
外部插入
after(content | fn)
before(content | fn)
insertAfter(content)
insertBefore(content)
包裹
wrap(html)
wrap(elem)
wrap(fn)
unwrap()
wrapAll(html)
wrapAll(elem)
wrapInner(html)
wrapInner(elem)
wrapInner(fn)
替换
replaceWith(content)
replaceAll(selector)
删除
empty()
remove([expr])
detach([expr])
复制
clone()
clone(true)
2012-05-03
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人