《prototype Element学习笔记.doc》由会员分享,可在线阅读,更多相关《prototype Element学习笔记.doc(2页珍藏版)》请在三一文库上搜索。
1、prototype Element学习笔记 ancestors、recursivelyCollect、descendants、firstDescendant、immediateDescendants、previousSiblings、nextSiblings、siblings、match、up、down、previous、next、select、adjacent。 、update、remove、replace、wrap、cleanWhitespace visible、toggle、hidde、show、identify、readAttribute、writeAttribute、makeClip
2、ping、undoClipping classNames、hasClassName、addClassName、removeClassName、toggleClassName、getStyle、setStyle、getOpacity、setOpacity。 getHeight、getWidth、scrollTo、getDimensions、makePositioned、undoPositioned、cumulativeOffset、positionedOffset、absolutize、relativize、cumulativeScrollOffset、getOffsetParent、viewportOffset、clonePosition。 empty、descendantOf、visible fire、observe、stopObserving extend 基本上就是这么几类了。不过,关于位置类函数,只有取,没有设置的,功能不完善啊。这里面的查找类函数的用法文档中也没有尽言,关键是怎么写选择符 模板,内容仅供参考