I have included the files like this:
Followed by all our own scripts.
But on expand/collapse of a Region, it's trying to create a YAHOO.util.Anim, and call animateX on it.
This looks like it is being set up by ext-bridge-yui.js, but that doesn't seem to work!
Firebug tells me all the scripts are in the correct place - no 404s!
What am I doing wrong :?:
<script type="text/javascript" src="/aspicio/js/yui-utilities.js" ></script> <script type="text/javascript" src="/aspicio/js/logger.js" ></script> <script type="text/javascript" src="/aspicio/js/treeview.js" ></script> <script type="text/javascript" src="/aspicio/js/container.js" ></script> <script type="text/javascript" src="/aspicio/js/calendar.js" ></script> <script type="text/javascript" src="/aspicio/js/menu.js" ></script> <script type="text/javascript" src="/aspicio/js/ext-all.js" ></script> <script type="text/javascript" src="/aspicio/js/ext-bridge-yui.js" ></script>
But on expand/collapse of a Region, it's trying to create a YAHOO.util.Anim, and call animateX on it.
This looks like it is being set up by ext-bridge-yui.js, but that doesn't seem to work!
Firebug tells me all the scripts are in the correct place - no 404s!
What am I doing wrong :?:


|
#2
| |
|
There is a real problem with animateX.
Just go on the documentation page (make sure Firebug is running) : http://www.jackslocum.com/deploy/ext-1.0-alpha1/docs/ and try to minimize the left documention explorer.... you will have the error message : Quote:
![]() |
|
#3
|
|
Well, that's sort of good. At least I'm not doing something blindingly stupid! I should think this will be patched quickly.
![]() |
|
#4
|
|
animateX is in the ext-bridge-yui.js. The error in the docs is because they aren't including ext-bridge-yui.js.
Are you sure everything is right?![]() |
|
#5
|
|
I think this matches what i have written here:
http://www.yui-ext.com/forum/viewtopic.php?t=2832 Still did not had the time to check wether the yui debug versions are the root cause. ![]() |
|
#6
|
|
It's still definitely not defined for me, and my document head looks like this:
<script type="text/javascript" src="/aspicio/js/yui-utilities.js" ></script> <script type="text/javascript" src="/aspicio/js/logger.js" ></script> <script type="text/javascript" src="/aspicio/js/treeview.js" ></script> <script type="text/javascript" src="/aspicio/js/container.js" ></script> <script type="text/javascript" src="/aspicio/js/calendar.js" ></script> <script type="text/javascript" src="/aspicio/js/menu.js" ></script> <script type="text/javascript" src="/aspicio/js/ext-all.js" ></script> <script type="text/javascript" src="/aspicio/js/ext-bridge-yui.js" ></script> I've uncompressed it. I can set a breakpoint on the first line (function(){
9 var E=YAHOO.util.Event;
10 var D=YAHOO.util.Dom;
11 var ES=YAHOO.util.Easing;
12 var A=YAHOO.util.Anim;
13 Ext.apply(Ext.compat, {
14 get:function(el) {
15 return D.get(el);
16 }
17 });
18})();
19
Firefox 2.0.0.1 ![]() |
|
#7
|
|
Forget about it! All my own bad work! And the other probs that I reported! :oops:
![]() |
用户在使用 Ext Bridge YUI 进行动画操作时遇到 animateX 方法未定义的问题,经过排查发现此问题可能与 YUI 和 Ext 的兼容性有关。
Are you sure everything is right?

被折叠的 条评论
为什么被折叠?



