
js
文章平均质量分 71
iteye_6075
这个作者很懒,什么都没留下…
展开
-
webcalendar.js 错误fix
webcalendar.js IE中报this.panel不存在js错误解决方法:js中最后一行var calendar = new Calendar(); //注释此句,否则 IE 将报错参考:[url]http://blog.okn.cn/article.html?id=430[/url]webcalendar日历控件是 优快云 网友 KimSoft ...2007-12-10 22:59:57 · 249 阅读 · 0 评论 -
js对象方法
js 代码 <!---->"-//W3C//DTD HTML 4.0 Transitional//EN"> <script> function obj(){ this.login=function(){ ale...2007-06-16 01:49:00 · 59 阅读 · 0 评论 -
scriptaculous.js (1) demo
js 代码 function changeColor(_selfnode){ if(_selfnode.checked==true){ _selfnode.parentNode.parentNode.bgColor='white'; } ...2007-09-19 14:25:43 · 166 阅读 · 0 评论 -
prototype手记 $
$::Utility Methods<o:p></o:p>---------------------------------------------------------------------------<o:p></o:p>$(id | element) -> HTMLElement<o:p></o:p>$(...2007-09-26 00:37:57 · 103 阅读 · 0 评论 -
使用豆瓣api查书的js
[b]jquery版[/b][code="html"] Books: new 添加新书到共享书库输入ISBN: Isbn Name [/code][code="j...2008-09-20 14:33:48 · 361 阅读 · 0 评论 -
prototype中文介绍
$::Utility Methods<o:p></o:p>---------------------------------------------------------------------------<o:p></o:p>$(id | element) -> HTMLElement<o:p></o:p>...2007-11-11 23:56:51 · 176 阅读 · 0 评论 -
jplayer 实战
今天客户一个[url=http://www.chinab2c.net/content/9.html]B2C服装类网上商城系统[/url]需要在网站里播放背景音乐。bgsound是不行的,因为只有IE支持这个标签。关键是要跨浏览器。考虑jquery,发现jplayer可以实现这个效果。试了一下,门槛还算OK。[code="html"] ...原创 2010-08-18 23:59:38 · 165 阅读 · 0 评论 -
rapid validation 验证 无效果
rapid validation 验证 无效果可能原因:编码问题默认是GB2312的编码,在UTF-8系统中使用,JS包含乱码,导致验证代码失效。修复方法: editplus 打开 js 文件,另存为 UTF-8 编码即可。...2010-04-30 16:46:09 · 116 阅读 · 0 评论 -
HTML5 Canvas Charts 统计图
[b]RGraph: HTML5/Javascript charts for your website[/b][url=http://www.rgraph.net/]http://www.rgraph.net/[/url][b]jQuery Visualize Plugin[/b]Visualize是一个利用HTML5 Canvas将Tables标签转换成图表的jQuery...原创 2012-06-10 23:05:07 · 541 阅读 · 0 评论 -
DWR 1.x 升级 到3 错误
最近需要从1.X 升级到3,很多页面失效,查找错误原因是DWRUtils找不到,查找DWR官方升级文档后发现是 DWREngine DWRUtil 变更造成,修改后正常。Upgrading from DWR version 2.0 to DWR version 3.0DWR 3.0 has not been officially released yet. This pages...原创 2013-04-02 15:08:21 · 225 阅读 · 0 评论 -
Effect Queues
[b]What is a Queue[/b]Let’s examine how events in a queue occur: For a programmer a queue is an Array with events that are stacked on each other to be handled one by one. For example, a user hovers ...2008-01-26 19:43:28 · 124 阅读 · 0 评论 -
Combination Effects 各种组合效果
[b]Effect.Drop Out [/b]Makes the element drop and fade out at the same time.让元素掉下去一样的消失的效果!Examples[code="js"] Effect.DropOut('id_of_element');[/code][url]http://wiki.script.aculo.u...2008-01-26 19:23:16 · 148 阅读 · 0 评论 -
Effect.Puff
Gives the illusion of the element puffing away (like a in a cloud of smoke).让元素像烟一样消失的效果!Examples[code="js"] Effect.Puff('id_of_element'); // with options Effect.Puff('id_of_eleme...2008-01-26 19:02:29 · 76 阅读 · 0 评论 -
script.aculo.us---Effect.Opacity
This effect changes an element’s opacity (transparency).[b]作用 :改变元素透明度[/b][b]例子 :new Effect.Opacity('id_of_element', {duration:0.5,from:1.0,to:0.7});[/b]Will fade the element from 100% to ...2008-01-26 16:34:37 · 105 阅读 · 0 评论 -
script.aculo.us---Effect.Scale
This effect changes an elements width and height dimensions and the base for em units. This allows for smooth, automatic relative scaling of elements contained within the scaled element.[b]此效果基于em...2008-01-26 16:48:48 · 116 阅读 · 0 评论 -
script.aculo.us---Effect.Morph
This effect changes the CSS properties of an element.[code="js"]Simple :$('morph_example').morph('background:#080;color:#fff');Complex :new Effect.Morph('error_message',{ style:'b...2008-01-26 17:26:44 · 101 阅读 · 0 评论 -
script.aculo.us---Effect.Move
This effect moves an element. Effect.MoveBy is older name.This will move object to corner of the window (x=0; y=0):[code="js"]new Effect.Move (obj,{ x: 0, y: 0, mode: 'absolute'});[/code]...2008-01-26 17:46:47 · 103 阅读 · 0 评论 -
script.aculo.us---Effect.Highlight
所谓的高亮显示就在这里了!This effect Flashes a color as the background of an element. It is mostly used to draw attention to a part of the page that has been updated via javascript or AJAX, when the update wo...2008-01-26 17:59:12 · 117 阅读 · 0 评论 -
script.aculo.us---Effect.Parallel
This is a special effect to allow to combine more than one core effect into a parallel effect. It’s the only effect that doesn’t take an element as first parameter, but an array of subeffects.作用 :...2008-01-26 18:10:13 · 93 阅读 · 0 评论 -
script.aculo.us---Core Effects
The six [b] [color=red]core effects[/color] [/b][b]Effect.Opacity, Effect.Scale, Effect.Morph, Effect.Move, Effect.Highlight and Effect.Parallel [/b]are the foundation of the script.aculo.us [b]Visual...2008-01-26 18:22:07 · 107 阅读 · 0 评论 -
script.aculo.us---Effect.Appear
Examples Effect.Appear('id_of_element'); Effect.Appear('id_of_element', { duration: 3.0 });Optionsduration:1.0 (in seconds) from:0.0-1.0 (percent of opacity to start) to:0.0-1.0 (p...2008-01-26 18:56:10 · 86 阅读 · 0 评论 -
Effect.Fade
Makes an element fade away and takes it out of the document flow at the end of the effect by setting the CSS display property to none. [b]Opposite of Effect.Appear[/b]元素消失效果!Examples[code="j...2008-01-26 18:59:32 · 301 阅读 · 0 评论 -
Ajax Typeahead
[url]https://github.com/pwarelis/Ajax-Typeahead[/url][code="js"]$("#ajax-typeahead").typeahead({ ajax: { url: "/path/to/source", timeout: 500, displayField: "name...原创 2014-08-28 15:59:02 · 170 阅读 · 0 评论