This effect changes an element’s opacity (transparency).
作用 :改变元素透明度
例子 :new Effect.Opacity('id_of_element', {duration:0.5,from:1.0,to:0.7});
Will fade the element from 100% to 70% over the space of 1/2 second.
Microsoft Internet Explorer can only set opacity on elements that have a ‘layout’ -->>Giving Elements Layout
IE中只有layout的元素才能设置不透明值
-----------------------------------------------
For Effect.Opacity based effects to work in Internet Explorer, you need to have give the affected elements the so-called ‘layout’ quality.The object that the filter is applied to must have layout before the filter effect displays. You can give the object layout by doing one of the following:
以下方法中可以使一个object layout 化
Setting the height or width property (doesn’t work on inline elements when the browser is not in quirksmode but in standards-compliant mode)
Setting the display property to inline-block
Setting the position property to absolute
Setting the writingMode property to tb-rl
Setting the contentEditable property to true
http://wiki.script.aculo.us/scriptaculous/show/Effect.Opacity
分享到:
相关推荐
《Prototype and script.aculo.us终极揭秘》试读样章
script.aculo.us框架是构建在prototype之上的JavaScript脚本库,它的定位就是帮助开发人员快速有效地创建页面展示及操作的特效。 对于中小型的Ajax应用项目应用项目而言,prototype+script.aculo.us是一个非常不错的...
解压密码在:http://www.pin5i.com/showtopic-php-and-script.aculo.us-web-2.0-application-interfaces.html
Practical.Prototype.and.script.aculo.us.Jun.2008
Prototype.and.script.aculo.us.Dec.2007.pdf
script.aculo.us框架的完整的文档包
用script.aculo.us实现googleSuggest效果.内附说明你文件
Pragmatic.Prototype.and.script.aculo.us.Dec.2007 学习 javascript 和prototype
Script.Aculo.Us开发系列教程,来自CnBlog的文章,本人搜集,下载,打包,o(∩_∩)o...
一本关于使用Prototype和script.aculo.us的英文书。
包含了Prototype 1.6.0以及script.aculo.us 1.8.0最终版的介绍
Rails采用的Javascript框架Script.aculo.us的英文文档,
Practical Prototype and script.aculo.us (Expert's Voice in Web Development) 有关prototype的好书,英文的
基于Prototype框架的一个非常优秀的开源Ajax框架,封装了许多控件:AotuComplete,Accordion,Slider等,很多的动画效果,还有拖拽,DOM Utility等等 刚才在Download里面Search了一下好像没有,所以传上来一个,这个...
prototype.js是一个非常优雅的javascript基础类库,对javascript做了大量的扩展,而且很好的支持Ajax.
因为有90M所以分4卷上传.请全部下载到一个目录再解压其中一个即可. 内有SN.... *支持流行AJAX框架的Code Assist功能:AFLAX,Dojo,JQuery,MochiKit,Prototype,Rico,script.aculo.us,Yahoo UI。
因为有90M所以分4卷上传.请全部下载到一个目录再解压其中一个即可. 内有SN.... *支持流行AJAX框架的Code Assist功能:AFLAX,Dojo,JQuery,MochiKit,Prototype,Rico,script.aculo.us,Yahoo UI。
因为有90M所以分4卷上传.请全部下载到一个目录再解压其中一个即可. 内有SN.... *支持流行AJAX框架的Code Assist功能:AFLAX,Dojo,JQuery,MochiKit,Prototype,Rico,script.aculo.us,Yahoo UI。