1. #1
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,499
    Vote Rating
    47
    Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default Problems with animateX not being defined

    Problems with animateX not being defined


    I have included the files like this:

    Code:
    <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>
    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 :?:

  2. #2
    Ext User Sliver's Avatar
    Join Date
    Mar 2007
    Posts
    17
    Vote Rating
    0
    Sliver is on a distinguished road

      0  

    Default


    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 :
    59.animateX is not a function
    slideIn(Object width=Object, Object scope=Object block=true anim=Motion yui-gen53, function(), 0.5, function(), function())ext-all.js (line 24)
    slideIn()ext-all.js (line 24)
    slideIn()ext-all.js (line 24)
    slideIn(Object scope=Object block=true anim=Motion yui-gen53, function())ext-all.js (line 24)
    slideIn("l", Object scope=Object block=true anim=Motion yui-gen53)ext-all.js (line 24)
    SplitLayoutRegion()ext-all.js (line 188)
    LayoutRegion(Object browserEvent=Event mouseout button=0 shiftKey=false)ext-all.js (line 186)
    EventManager(Object browserEvent=Event mouseout button=0 shiftKey=false)ext-all.js (line 18)
    namespace(click clientX=0, clientY=0)utilities_2.1.0.j... (line 2)
    [Break on this error] Ext.enableFx=true;Ext.apply(Ext.Element.prototype,{slideIn:function(_1,o){var el...

  3. #3
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,499
    Vote Rating
    47
    Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    Well, that's sort of good. At least I'm not doing something blindingly stupid! I should think this will be patched quickly.

  4. #4
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    Location
    Tampa, FL
    Posts
    6,955
    Vote Rating
    17
    jack.slocum will become famous soon enough jack.slocum will become famous soon enough

      0  

    Default


    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. #5
    Sencha Developer
    Join Date
    Mar 2007
    Location
    Germany
    Posts
    482
    Vote Rating
    1
    Wolfgang is on a distinguished road

      0  

    Default


    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. #6
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,499
    Vote Rating
    47
    Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    It's still definitely not defined for me, and my document head looks like this:

    Code:
    <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>
    And I can see ext-bridge-yui.js in Firebug's script tab. It's just not being executed!

    I've uncompressed it. I can set a breakpoint on the first line

    Code:
    (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
    But it does not get into the other lines at all....

    Firefox 2.0.0.1

  7. #7
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,499
    Vote Rating
    47
    Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    Forget about it! All my own bad work! And the other probs that I reported! :oops:

Similar Threads

  1. 1.0a3r4 - Ext.MessageBox - cls is not defined
    By bloudon in forum Ext 1.x: Bugs
    Replies: 1
    Last Post: 19 Mar 2007, 5:57 AM
  2. gridview error: re is not defined
    By hicker in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 17 Mar 2007, 12:25 AM
  3. MessageBox.js-'null' header when msg not defined [a3r2]
    By mystix in forum Ext 2.x: Help & Discussion
    Replies: 5
    Last Post: 14 Mar 2007, 12:11 AM
  4. password field is not defined in CSS (x-form-password)
    By vtswingkid in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 9 Mar 2007, 5:59 PM
  5. BorderLayout contained in DIV w/o height defined?
    By ann0yanc3 in forum Ext 1.x: Help & Discussion
    Replies: 5
    Last Post: 7 Mar 2007, 8:09 PM

Thread Participants: 3

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi