Results 1 to 2 of 2

Thread: Javascript Tab Panel

  1. #1
    Ext User
    Join Date
    Mar 2007
    Vote Rating

    Default Javascript Tab Panel

    I'm very interested in the work you've done with the JS Tab Panel, but I've not been able to figure it out yet.

    I began by downloading your source code from ( and downloading all the files to the appropriate location on the server. I've commented out the second panel to keep this example as simple as possible.

    I have a single error which is preventing the UI from displaying:
    "YAHOO is not defined"

    Which I believe is a result of this line:
    YAHOO.util.Event.on(window, 'load', initUI);
    These are my includes:
    Am I missing the proper util.js file? If so, where is it located?

    Thanks in advance for any help offered.

  2. #2
    Ext User
    Join Date
    Mar 2007
    Vote Rating


    first: this is how Jack has done the layout initialization in his examples
    YAHOO.ext.EventManager.onDocumentReady(Layout4.init, Layout4, true);
    second: that's not the proper way to load JS into the document, maybe you just over simplified it to make it easier to see, but if not here's the right way...
    script type="text/javascript" src="javascripts/yui/build/yahoo/yahoo-min.js"></script>
    // opening < removed so it would show up
    The problem you're having comes from the fact that the Yahoo! JS library isn't being loaded at all, not that the util.js file isn't being loaded (I'm not loading it at all). Check to make sure that the files are being loaded into the document like above. Also make sure you have your directories right. I kept everything in the directories they came as opposed to throwing everything into 1 directory.

    Hopefully this helps

Similar Threads

  1. javascript compression
    By in forum Ext 1.x: Help & Discussion
    Replies: 4
    Last Post: 16 Oct 2009, 4:53 AM
  2. Javascript Editor
    By thameema in forum Ext 1.x: Help & Discussion
    Replies: 3
    Last Post: 28 Aug 2008, 11:50 AM
  3. multilanguage in javascript
    By mdissel in forum Ext 1.x: Help & Discussion
    Replies: 2
    Last Post: 12 Oct 2007, 4:56 AM
  4. South Panel Auto hide & East Panel Prop list & C. Pa
    By Mohammed in forum Ext 1.x: Help & Discussion
    Replies: 4
    Last Post: 27 Mar 2007, 11:46 PM
  5. About security and javascript
    By franklt69 in forum Ext 1.x: Help & Discussion
    Replies: 1
    Last Post: 22 Mar 2007, 3:43 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts