1. #1
    Ext User
    Join Date
    Mar 2007
    Vote Rating
    ideawire_bb is on a distinguished road


    Default Javascript Tab Panel

    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 (http://www.jackslocum.com/yui/2006/0...-for-yahoo-ui/) 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
    zpao is on a distinguished road



    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

Thread Participants: 1

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