提交 73ee0d3e 编写于 作者: K Kohsuke Kawaguchi

Adding more animation

上级 4afb1cc0
......@@ -32,13 +32,18 @@ var repeatableSupport = {
expand : function() {
// importNode isn't supported in IE.
// nc = document.importNode(node,true);
var nc = document.createElement("div");
var nc = $(document.createElement("div"));
nc.className = "repeated-chunk";
nc.setOpacity(0);
nc.setAttribute("name",this.name);
nc.innerHTML = this.blockHTML;
this.insertionPoint.parentNode.insertBefore(nc, this.insertionPoint);
if (this.withDragDrop) prepareDD(nc);
new YAHOO.util.Anim(nc, {
opacity: { to:1 }
}, 0.2, YAHOO.util.Easing.easeIn).animate();
Behaviour.applySubtree(nc,true);
this.update();
},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册