22.Web 2.0 and Scriptaculous
web2.0

Web 2.0技术特征
• 分布式架构——物理位置不同而共享资源与服务 • 松散耦合——高互操作性组建按需联络,统一的 消息传递机制 • 平台独立性——不同应用平台(指操作系统、数 据库平台)具有通用的机器界面和人机界面 • 开放API‘s ——服务的使用和通信等开放接口(或 符合通用协议标准),技术文档齐全 • 支持Web服务——访问(共享/重用)Web2.0组 件的 的趋势(例如采用SOA架构,但并非都这样)
在线图书阅读点评系统 上网习惯监督助手
学校公共设施管理与预约系统
个人收藏夹跟进系统 专题综述
简短历史
• • •
– –
―Web 2.0‖一词由 O‗Reilly Media和MediaLive 公司7年前作为一次会议名称而提出的概念。 2004年10月召开Web 2.0大会,2005年10月 召开了第二次Web 2.0大会,盛况空前。 并非新的概念:
Scott McNealy (CEO of Sun MicroSystems)曾广而 告之: ―...the network is the platform...‖ 微软也曾在1995 提到过 ―The Web is the Next Platform.‖
Web 2.0主要“原则”
• • • • • • Web 作为平台 采用集体智能Collective Intelligence 以数据为核心Data is the next ―Intel Inside‖ 永远的测试版(由于定位于服务而非软件) 轻型商务模式Lightweight business models 软件独立于设备Software above the level of a single device • 丰富的用户体验RUE
Web2.0代表性服务
谈Web2.0技术在虚拟学习社区知识管理中的应用

谈Web2.0技术在虚拟学习社区知识管理中的应用作者:李群来源:《中小学信息技术教育》2008年第12期随着信息通讯技术和Internet的迅速发展与普及,虚拟学习社区逐步成为学习者开展协作学习、知识建构和智慧发展的理想学习环境。
Web2.0的到来为网络环境下的教与学的发展提供了一种全新的思路。
一、Web2.0、虚拟学习社区、知识管理1.Web2.0Web2.0是相对Web1.0 (2003年以前的互联网模式)的新一类互联网应用的统称。
BloggerDon在他的“Web2.0概念诠释”一文中提出:“Web2.0是以Flickr、Craigslist、Linkedin、Tribes、Ryze、Friendster、Del. icio1us、43Things. com等网站为代表,以Blog、TAG、SNS、RSS、Wiki等社会软件的应用为核心,依据六度分隔、xml、ajax等新理论和技术实现的互联网新一代模式。
”Web1.0到Web2.0的转变,从模式上是单纯的“读”向“写”、“共同建设”发展;从基本构成单元上是由“网页”向“发表、记录的信息”发展;从工具上是由互联网浏览器向各类浏览器、RSS阅读器等方面发展;运行机制上是由“Client Server”向“Web Services”转变;开发者则是由程序员等专业人士向普通用户发展。
Web2.0带给我们的是一个“可读、可写、社会化”的互联网,是以人为核心的互联网。
Blog、TAG、SNS、RSS、Wiki等社会性软件有效地支持着虚拟学习社区中的协作学习和自主学习,也为虚拟学习社区中的知识管理开辟了新的思路。
2.虚拟学习社区虚拟学习社区是网络教育在现代信息技术和学习理论发展基础上出现的一种新的学习形式。
它是建立在网络和通信技术之上,借助网络和通信工具,由各种不同类型的个体组成,通过教学、研究等活动建立一个虚拟的社会形态,以交互学习、协作学习和自主学习方式为主,使学习者获取知识、增进理解和提高技能,形成以此为目的的一个交互的自治区域。
30个WEB UI基本控件

30个WEB UI基本控件通过特里萨尼尔作为条例草案在先前的帖子中提到,我们不希望这个博客仅仅限制的原则和模式发现在书里。
为此,您可以看看我们的探索图书节。
这是一个为RIA的模式和设计原则三部分组成的系列的第二篇文章。
标准屏幕模式:12模式w/100例子基本控制:30为RIA设计和开发控制通常要求的功能部件:15的模式和范例每个设计师有他们的一套控制到一个有效的沟通界面依赖。
这是我的基本控制库。
不幸的是,没有单一的放射免疫法的框架内提供所有这些30。
所以,我的清单,其中包括提供每个控制框架。
此外,如果您有一个或更正,请给我发电子邮件,我将发布一个更新的框架/控制矩阵。
LivePipeUI,审查该框架包括:Flex的,拉兹洛,Silverlight和Ajax框架和工具包12:ExtJS 的,道场,锐,谷歌Web工具包,原型/ 和jQuery,MooTools的,MochaUI,SproutCore,资讯轧机,Backbase公司。
01。
自动推荐谷歌的自动完成技术支持:Flex的,拉兹洛,ExtJS的,道场,锐,谷歌Web工具包,原型/ 和jQuery,MooTools的,MochaUI,资讯密尔,Backbase公司,Silverlight的。
02。
旋转木马(如Coverflow变化)原型部件旋转木马旋转木马技术支持:锐,原型/ ,JQuery的,ITMill,Backbase公司,iCarouselCoverflow MediaEvent服务的Slideflow技术支持:Flex的,原型/ ,JQuery的,MooTools的,对Silverlight的RadControls03。
图表和图形图表图表的细节功能,如先进的盘旋,钻取,滚动窗口,切换意见...技术支持:Flex的,拉兹洛,道场,锐,谷歌Web工具包,原型/ ,JQuery 的(SWF文件/图表), MooTools的,MochaUI,Backbase公司,Silverlight的,AnyChart,登打士,JPowered,JFreeChart的,OpenFlashCharts,弗洛,Plotr,PlotKit,WebFX,AjaxMcGraph,测量图。
Web 2.0 and AJAX

response)
Iterator it = employees.keySet().iterator(); while (it.hasNext()) { EmployeeBean e = (EmployeeBean)employees.get((String)it.next()); if ((e.getFirstName().toLowerCase().startsWith(targetId) || e.getLastName().toLowerCase().startsWith(targetId)) && !targetId.equals("")) sb.append("<employee>"); sb.append("<id>" + e.getId() + "</id>"); sb.append("<firstName>" + e.getFirstName() + "</firstName>"); sb.append("<lastName>" + e.getLastName() + "</lastName>"); sb.append("</employee>"); namesAdded = true; } } if (namesAdded) {
> Uses JSP Wiki > Focused on Collaboration
9
REST
• Web 2.0 delivers Services over the Web • Pretty much all seems to be over REST
Web2.0是什么

Web 2.0是什么Web 2.0,指的是一个利用Web的平台,由用户主导而生成的内容互联网产品模式,为了区别传统由网站雇员主导生成的内容而定义为web2.0。
接下来小编为大家整理网站应如何创建。
希望对你有帮助哦!The phrase Web 2.0 was created by O'Reilly Media to refer to a supposed second generation of network-centric services available on the internet that let people collaborate and share information online in a new way - such as social networking sites, wikis, communication tools and folksonomies. O'Reilly Media, in collaboration with MediaLive International, used the phrase as a title for a series of conferences and since then it has become a popular, if ill-defined and often criticized, buzzword amongst the technical and marketing communities.IntroductionWith its allusion to the version numbers that commonly designate software upgrades, the phrase "Web 2.0" trendily hints at an improved form of the World Wide Web, and the term has appeared in occasional use for several years. The more explicit synonym "Participatory Web", emphasizing tools and platforms that enable the user to tag, blog, comment, modify, augment, select from, rank, and generally talk back to the contributions of other users and the general world community has increasingly seen use as an alternative phrase. Some commentators regard reputation-based public wikis, like Wikipedia, as pioneering examples of Web 2.0/Participatory Web technology.O'Reilly Media and MediaLive International popularized the term Web 2.0 for a conference they hosted after Dale Dougherty mentioned it during a brainstorming session. Doughertysuggested that the Web was in a renaissance, with changing rules and evolving business models. The participants assembled examples — "DoubleClick was Web 1.0; Google AdSense is Web 2.0. Ofoto is Web 1.0; Flickr is Web 2.0" — rather than definitions. Dougherty recruited John Battelle for a business perspective, and it became the first Web 2.0 Conference in October 2004. A second annual conference was held in October 2005.In their first conference opening talk, O'Reilly and Battelle summarized key principles they believe characterize Web 2.0 applications: the Web as platform; data as the driving force; network effects created by an architecture of participation; innovation in assembly of systems and sites composed by pulling together features from distributed, independent developers (a kind of "open source" development); lightweight business models enabled by content and service syndication; the end of the software adoption cycle ("the perpetual beta"); software above the level of a single device, leveraging the power of The Long Tail.Earlier users of the phrase "Web 2.0" employed it as a synonym for "semantic web", and indeed, the two concepts complement each other. The combination of social networking systems such as FOAF and XFN with the development of tag-based folksonomies and delivered through blogs and wikis creates a natural basis for a semantic environment. Although the technologies and services that comprise Web 2.0 are less powerful than an internet in which the machines can understand and extract meaning, as proponents of the Semantic Web envision, Web 2.0 represents a step in its direction.As used by its proponents, the phrase refers to one or more of the following:The transition of websites from isolated information silos to sources of content and functionality, thus becoming computing platforms serving web applications to end usersA social phenomenon referring to an approach to creating and distributing Web content itself, characterized by open communication, decentralization of authority, freedom to share and re-use, and "the market as a conversation"A more organized and categorized content, with a far more developed deeplinking web architectureA shift in economic value of the web, possibly surpassing that of the dot com boom of the late 1990sA marketing term to differentiate new web businesses from those of the dot com boom, which due to the bust now seem discreditedThe resurgence of excitement around the possibilities of innovative web applications and services that gained a lot of momentum around mid 2005Many find it easiest to define Web 2.0 by associating it with companies or products that embody its principles and Tim O'Reilly gave examples in his description of his four plus one levels in the hierarchy of Web 2.0-ness:Level 3 applications, the most Wev 2.0, which could only exist on the internet, deriving their power from the human connections and network effects it makes possible and growing in effectiveness the more people use them. His examples were EBay, craigslist, Wikipedia, , Skype, Dodgeball, Adsense for Content, and Amazon.Level 2 applications, which can be offline but gain unique advantages from being online. His example was Flickr, benefiting from its shared photo database and community-generated tagdatabase.Level 1 applications are also available offline but gain features online. His examples were Writely, gaining group editing capability online and iTunes because of the music store portion.Level 0 applications would work as well offline. His examples were MapQuest, Yahoo! Local, and Google Maps. Mapping applications using contributions from users to advantage can be level 2.non-internet applications like email, IM clients and the telephone.Examples other than those cited by O'Reilly include digg, Shoutwire, last.fm, and Technorati.Commentators see many recently-developed concepts and technologies as contributing to Web 2.0, including weblogs, linklogs, wikis, podcasts, RSS feeds and other forms of many to many publishing; social software, web APIs, web standards, online web services, and others.Proponents of the Web 2.0 concept say that it differs from early web development (retrospectively labeled Web 1.0) in that it moves away from static websites, the use of search engines, and surfing from one website to the next, towards a more dynamic and interactive World Wide Web. Others argue that the original and fundamental concepts of the WWW are not actually being superseded. Skeptics argue that the term is little more than a buzzword, or that it means whatever its proponents want it to mean in order to convince their customers, investors and the media that they are creating something fundamentally new, rather than continuing to develop and use well-established technologies.The retrospectively-labeled "Web 1.0" often consisted ofstatic HTML pages, rarely (if ever) updated. They depended solely on HTML, which a new Internet user could learn fairly easily. The success of the dot-com era depended on a more dynamic Web (sometimes labeled Web 1.5) where content management systems served dynamic HTML web pages created on the fly from a content database that could more easily be changed. In both senses, so-called eyeballing was considered intrinsic to the Web experience, thus making page hits and visual aesthetics important factors.Proponents of the Web 2.0 approach believe that Web usage has started increasingly moving towards interaction and towards rudimentary social networks, which can serve content that exploits network effects with or without creating a visual, interactive web page. In one view, Web 2.0 sites act more as points of presence, or user-dependent web portals, than as traditional websites. They have become so advanced new internet users cannot create these websites, they are only users of web services, done by specialist professional experts.Access to consumer-generated content facilitated by Web 2.0 brings the web closer to Tim Berners-Lee's original concept of the web as a democratic, personal, and DIY medium of communication.Web 2.0是一个由O'Reilly Media创造的术语,它的应用可以让人了解目前万维网正在进行的一种改变——从一系列网站到一个成熟的为最终用户提供网络应用的服务平台。
代码检查工具jshint和csslint

代码检查⼯具jshint和csslint前⾯的话 Douglas Crockford⼤神根据⾃⼰的理念⽤JavaScript写了⼀个JavaScript代码规范检查⼯具,这就是。
后来⾮常流⾏,也的确帮助了⼴⼤的JavaScript程序员。
但是,⼤神对于⾃⼰的代码规范不做丝毫的妥协,对开源社区的反馈的回应也不礼貌。
于是,JSLint从⼀个帮助程序员规范代码,避免Bug的⼯具,变成了⼀个让代码像Crockford的⼯具。
在最不信神的IT界,这当然不能忍了 2011年,⼀个叫Anton Kovalyov的前端程序员借助开源社区的⼒量弄出来了JSHint,该⼯具的思想基本上和JSLint是⼀致的,但具有以下⼏点优势:1、可配置规则。
2、社区⽀持度⾼。
3、可定制结果报表 相对应地,CSS的代码检查⼯具是csslint。
本⽂将详细介绍jshint和csslint安装 JSHint的官⽅地址是,GitHub 地址: ⼀般地,使⽤npm来安装jshint。
所以,⾸先需要安装,然后使⽤npm install jshint -g命令来安装jshint 然后就可以通过命令'jshint xx.js'来检测代码【sublime插件】 在sublime编辑器中也可以使⽤jshint插件。
使⽤快捷键 Ctrl+Shift+P 呼出Sublime命令⾯板;然后键⼊install,并选择Package Control:Install Package;然后再键⼊jshint,并选择JSHint Gutter 安装完成后,⼀般需要将'node_path'设置为正确的路径 然后在当前⽂件下,使⽤快捷键Ctrl+Alt+J 就会显⽰信息配置 在项⽬根⽬录下建⽴⼀个 .jshintrc ⽂件,这个⽂件就是JSHint的配置⽂件,JSHint会⾃动识别这个⽂件,根据这⾥⾯的规则对⽂件进⾏检查 [注意]windows下并不允许新建⽂件名前⾯带点的⽂件,解决办法⼀种是直接在Sublime Text⾥建⽴;另⼀种是使⽤命令⾏touch命令建⽴ JSHint的配置分为四类: 1、Enforcing(增强):如果这些属性设置为true,JSHint会对代码进⾏更严格的检查,⽐如是否使⽤严格(strict)模式、变量驼峰式命名、是不是for-in循环⾥必须得有hasOwnProperty等等 2、Relaxing(松弛):如果这些属性设置为true,JSHint会容忍规则中定义的情况出现。
Web2.0是奶酪还是泡沫?
Web2.0是奶酪还是泡沫?摘要:RSS是站点用来和其他站点之间共享内容的一种简易方式(也叫聚合内容)的技术。
最初源自浏览器“新闻频道”的技术,现在通常被用于新闻和其他按顺序排列的网站,例如Blog。
WIKI——百科全书:Wiki--一种多人协作的写作工具。
Wiki站点可以有多人(甚至任何访问者)维护,每个人都可以发表自己的意见,或者对共同的主题进行扩展或者探讨。
Wiki指一种超文本系统。
这种超文本系统支持面向社群的协作式写作,同时也包括一组支持这种写作的辅助工具。
网摘:“网摘”又名“网页书签”,起源于一家叫做的美国网站自2003年开始提供的一项叫做“社会化书签”(Social Bookmarks)的网络服务,网友们称之为“美味书签”(Delicious在英文中的意思就是“美味的;有趣的”)。
SNS——社区网络:Social Network Sofwaret,社会性网络软件,依据六度理论,以认识朋友的朋友为基础,扩展自己的人脉。
P2P——对等联网:P2P是peer-to-peer的缩写,peer在英语里有”(地位、能力等)同等者”、“同事”和“伙伴”等意义。
这样一来,P2P也就可以理解为“伙伴对伙伴”、“点对点”的意思,或称为对等联网。
目前人们认为其在加强网络上人的交流、文件交换、分布计算等方面大有前途。
IM——即时通讯:即时通讯(Instant Messenger,简称IM)软件可以说是目前我国上网用户使用率最高的软件。
聊天一直是网民们上网的主要活动之一,网上聊天的主要工具已经从初期的聊天室、论坛变为以MSN、QQ为代表的即时通讯软件。
RSS为Really Simple Syndication(简易供稿)的缩写,是某一站点用来和其它站点之间共享内容的一种简易方式,也叫聚合内容。
网络用户可以在客户端借助于支持RSS的新闻聚合工具软件(例如周博通RSS阅读器,看天下新闻资讯阅读器,新浪点点通阅读器),在不打开网站内容页面的情况下阅读支持RSS 输出的网站内容。
Scriptaculous教程
Scriptaculous教程Scriptaculous是一个建立在Prototype基础之上的Javascript库,它可以增强网页界面效果,提供给用户更丰富的Web2.0体验。
其主要功能包括网页特效,拖放,排序,滑块,即时编辑,智能完成等。
通过Scriptaculous,我们只需要简单的几行代码,就可以创建绚丽的动态效果。
什么是Scriptaculous首次接触Scriptaculous吗?在这一章里你将了解什么是Scriptaculous,如何将它安装到你的页面中,以及简单的使用。
做好这一步,我们就可以开始下面激动人心的Scriptaculous之旅了。
什么是是一个建立在prototype基础之上的javascript库,它可以给增强网页界面效果,提供给用户更丰富的Web2.0体验。
是由Thomas Fuchs编写的,最初版本是在2005年5月发布的。
通过操纵DOM来提供绚丽的动态视觉效果和其他强大的功能。
说明:Prototype是一个javascript框架,可以参看前面的prototype教程。
如何安装为了使用,只需要做一点非常简单的工作,按照如下三个非常简单的步骤来做:1.到主页下载所需的最新版本的压缩代码包2.解压缩刚下载的代码包,你将发现如下的文件:lib:包含prototype.js文件src:包含8个文件:1.builder.js2.controls.js3.dragdrop.js4.effects.js5.scriptaculous.js6.slider.js7.sound.js8.unittest.jstest:包含测试文件changelog:包含所有版本的变更记录MIT-LICENSE:包含版权说明README:包含安装指导说明3.现在把如下文件放在网站指定的文件夹下,例如javascript文件夹:builder.jscontrols.jsdragdrop.jseffects.jsscriptaculous.jsslider.jsprototype.js注意:sound.js和unittest.js文件是可选的如何使用现在你可以像下面一样包含脚本:<html><head><title> examples</title><script type="text/javascript"src="/javascript/prototype.js"></script><script type="text/javascript"src="/javascript/scriptaculous.js"></script></head><body>........</body></html>缺省情况下,scriptaculous.js将加载所有的功能模块,包括:特效,拖放,滑动条等。
各主流编程语言对比
P YTHON特点:面向对象、解释型主要用途:1. 图形处理:有PIL、Tkinter等图形库支持,能方便进行图形处理。
2. 数学处理:NumP扩展提供大量与许多标准数学库的接口。
3. 文本处理:python提供的re模块能支持正则表达式,还提供SGMLXML 分析模块,许多程序员利用python进行XML g序的开发。
4. 数据库编程:程序员可通过遵循Python DB-API (数据库应用程序编程接口)规范的模块与Microsoft SQL Server ,Oracle,Sybase, DB2 MySQL SQLite等数据库通信。
python自带有一个Gadfly模块,提供了一个完整的SQL环境。
5. 网络编程:提供丰富的模块支持sockets编程,能方便快速地开发分布式应用程序。
很多大规模软件开发计划例如Zope,Mnet及BitTorrent . Google都在广泛地使用它。
6. Web编程:应用的开发语言,支持最新的XML技术。
7. 多媒体应用:Python的PyOpenG模块封装了“ OpenGL应用程序编程接口”,能进行二维和三维图像处理。
PyGam模块可用于编写游戏软件。
8. pymo引擎:PYMO全称为python memories off ,是一款运行于SymbianS60V3,Symbia n3,S60V5, Symbia n3. An droid 系统上的AVG游戏引擎。
因其基于python2.0平台开发,并且适用于创建秋之回忆(memories off) 风格的AVG游戏,故命名为PYMO9. 黑客编程:python有一个hack的库,内置了你熟悉的或不熟悉的函数,但是缺少成就感。
优点:1. 简单:P YTHON是一种代表简单主义思想的语言。
阅读一个良好的P YTHON g序就感觉像是在读英语一样。
它使你能够专注于解决问题而不是去搞明白语言本身。
2. 易学:P YTHON极其容易上手,因为P YTHON有极其简单的说明文档。
10-AJAX
Web 2.0
23.05.2006
WEB2.0 & AJAX
13
23.05.2006
WEB2.0 & AJAX
14
Prototype.js
Include: <script src="prototype.js" type="text/javascript“ /> $(“id“), $(“id1“, “id2“, ….) $F(“id“), Ajax.Request, Ajax.Updater, Ajax.PeriodicalUpdater Form.serialize("form"); field1=value1&field2=value2&... Element., String.
AJAX - Problems
Back Button (History) Reload (CRTL-R, F5) Bookmarks Accessibility Gracefully degradation State and Sessions Server response times Security restrictions
AJAX – just a technology
Techniques Problems Alternatives Frameworks Future
Assignment
23.05.2006 WEB2.0 & AJAX 3
23.05.2006
WEB2.0 & AJAX
4
Web 2.0 Examples
00
01
02
03
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
Web Programming Step by StepLecture 21ScriptaculousReading: 12.1 - 12.2Except where otherwise noted, the contents of this presentation are Copyright 2009 Marty Stepp and Jessica Miller.Scriptaculous : a JavaScript library, built on top of Prototype, that adds:visual effects (animation, fade in/out, highlighting)drag and dropAjax features:Auto-completing text fields (drop-down list of matching choices)In-place editors (clickable text that you can edit and send to server)some DOM enhancementsother stuff (unit testing, etc.)src="/education/courses/cse190m/09sp/scriptaculooption 1: link to Scriptaculous on the CSE 190 M web sitenotice that you must still link to Prototype before linking Scriptaculous option 2: download the .zip file from their downloads page, and extract the 8 .js files from its src/ folder to the same folder as your projectdocumentation available on their wikiScriptaculous Effects Cheat Sheet(appearing)(disappearing)(Getting attention)Click effects abovethe effect will begin to animate on screen (asynchronously) the moment you call it six core effects are used to implement all effects on the previous slides:Effect.Highlight, Effect.Morph, Effect.Move,Effect.Opacity, Effect.Parallel, Effect.Scalemany effects can be customized by passing additional options (note the {})options (wiki): delay, direction, duration, fps, from, queue, sync, to, transitionQ: How would we show two effects in a row on the same element?all effects have the following events that you can handle:beforeStart, beforeUpdate, afterUpdate, afterFinishthe afterFinish event fires once the effect is done animatinguseful do something to the element (style, remove, etc.) when effect is doneeach of these events receives the Effect object as its parameterits properties: element, options, currentFrame, startOn, finishOn some effects (e.g. Shrink) are technically "parallel effects", so to access the modified element, you write effect.effects[0].element rather than justeffect.elementScriptaculous provides several objects for supporting drag-and-drop functionality: Draggable : an element that can be draggedDraggables : manages all Draggable objects on the pageDroppables : elements on which a Draggable can be droppedSortable : a list of items that can be reorderedShopping Cart demospecifies an element as being able to be draggedoptions: handle, revert, snap, zindex, constraint, ghosting,starteffect, reverteffect, endeffectevent options: onStart, onDrag, onEndeach handler function accepts two parameters: the Draggable object, and themouse eventDraggable demo.Draggable demo.a global helper for accessing/managing all Draggable objects on a page(not needed for this course)properties: drags, observersmethods: register, unregister, activate, deactivate, updateDrag, endDrag, keyPress, addObserver, removeObserver, notifyspecifies an element as being able to be draggedoptions: accept, containment, hoverclass, overlap, greedyevent options: onHover, onDropeach callback accepts three parameters: the Draggable, the Droppable, and the eventShopping Cart demospecifies a list (ul, ol) as being able to be dragged into any orderimplemented internally using Draggable s and Droppable soptions: tag, only, overlap, constraint, containment, format, handle, hoverclass, ghosting, dropOnEmpty, scroll, scrollSensitivity, scrollSpeed, tree, treeTagto make a list un-sortable again, call Sortable.destroy on it1.Homer2.Marge3.Bart4.LisaMaggie5.event descriptiononChange when any list item hovers over a new position while dragging onUpdate when a list item is dropped into a new position (more useful)onChange handler function receives the dragging element as its parameter onUpdate handler function receives the list as its parameter-->Homer 1.Marge 2.Bart 3.Lisa 4.Maggie5.for onUpdate to work, each li must have an id of the form listID _index if the elements of the list change after you make it sortable (if you add or remove an item using the DOM, etc.), the new items can't be sorted must call Sortable.create on the list again to fix itScriptaculous offers ways to make a text box thatauto-completes based on prefix strings:Autocompleter.Local : auto-completes from an array of choicesAjax.Autocompleter : fetches and displays list of choices using Ajaxyou must create an (initially empty) div to store the auto-completion matches it will be inserted as a ul that you can style with CSSthe user can select items by pressing Up/Down arrows; selected item is given a class of selectedpass the choices as an array of stringspass any extra options as a fourth parameter between {}options: choices, partialSearch, fullSearch, partialChars, ignoreCasewhen you have too many choices to hold them all in an array, you can instead fetch subsets of choices from the server using Ajaxinstead of passing choices as an array, pass a URL from which to fetch them the choices are sent back from the server as an HTML ul with li elements in it options: paramName, tokens, frequency, minChars, indicator, updateElement, afterUpdateElement, callback, parametersoptions: okButton, okText, cancelLink, cancelText, savingText, clickToEditText, formId, externalControl, rows, onComplete, onFailure, cols, size, highlightcolor, highlightendcolor, formClassName, hoverClassName, loadTextURL, loadingText, callback, submitOnBlur, ajaxOptionsevent options: onEnterHover, onLeaveHover, onEnterEditMode, onLeaveEditModea variation of Ajax.InPlaceEditor that gives a collection of choices requires collection option whose value is an array of strings to choose from all other options are the same as Ajax.InPlaceEditormethod descriptionSound.play("url");plays a sound/music fileSound.disable();stops future sounds from playing (doesn't mute any sound inprogress)Sound.enable();re-enables sounds to be playable after a call toSound.disable()to silence a sound playing in progress, use Sound.play('', {replace:true});cannot play sounds from a local computer (must be uploaded to a web site)slider control:Builder - convenience class to replace document.createElement :Tabbed UIs。