作家
登录

prototype Element学习笔记(Element篇三)

作者: 来源:www.28hudong.com 2013-03-30 02:52:49 阅读 我要评论

一、筛选类函数   ancestors、recursivelyCollect、descendants、firstDescendant、immediateDescendants、previousSiblings、nextSiblings、siblings、match、up、down、previous、next、select、adjacent。   二、增、删、改元素类函数   insert、update、remove、replace、wrap、cleanWhitespace   三、设置元素各种属性类函数   visible、toggle、hidde、show、identify、readAttribute、writeAttribute、makeClipping、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   八、static函数   extend   基本上就是这么几类了。不过,关于位置类函数,只有取,没有设置的,功能不完善啊。这里面的查找类函数的用法文档中也没有尽言,关键是怎么写选择符

  推荐阅读

  ajaxControlToolkit AutoCompleteExtender的用法

AutoCompleteExtender 自动完成扩展, 配合TextBox使用功能类似现在google中输入搜索字,则在TextBox下出来下拉框显示搜索目标中的项目 这个扩展控件需要配合Web Service使用,所以涉及了点web Service的使用(这里只简>>>详细阅读


本文标题:prototype Element学习笔记(Element篇三)

地址:http://www.17bianji.com/kaifa2/JS/29279.html

关键词: 探索发现

乐购科技部分新闻及文章转载自互联网,供读者交流和学习,若有涉及作者版权等问题请及时与我们联系,以便更正、删除或按规定办理。感谢所有提供资讯的网站,欢迎各类媒体与乐购科技进行文章共享合作。

网友点评
自媒体专栏

评论

热度

精彩导读
栏目ID=71的表不存在(操作类型=0)