Loading ...
Sorry, an error occurred while loading the content.

YUI Loader not loading JS files

Expand Messages
  • Dan Olsen
    I am trying to use the YUI Loader to load everything I need. However, it is only loading the CSS files and not the JS files. Can anyone tell me what the
    Message 1 of 7 , Oct 8, 2007
    View Source
    • 0 Attachment
      I am trying to use the YUI Loader to load everything I need. However,
      it is only loading the CSS files and not the JS files. Can anyone tell
      me what the problem might be?

      http://cutiecloth.com/store
    • Dan Olsen
      The site is http://dev.cutiecloth.com/store
      Message 2 of 7 , Oct 8, 2007
      View Source
      • 0 Attachment
        The site is http://dev.cutiecloth.com/store


        --- In ydn-javascript@yahoogroups.com, "Dan Olsen" <dan@...> wrote:
        >
        > I am trying to use the YUI Loader to load everything I need. However,
        > it is only loading the CSS files and not the JS files. Can anyone tell
        > me what the problem might be?
        >
        > http://cutiecloth.com/store
        >
      • Adam Moore
        ... Dan, you are trying to create a Menu instance before the scripts are fully loaded. Check out this example, and put your Menu instantiation code in the
        Message 3 of 7 , Oct 8, 2007
        View Source
        • 0 Attachment
          On Mon, Oct 08, 2007 at 08:11:16PM -0000, Dan Olsen wrote:
          > The site is http://dev.cutiecloth.com/store
          >
          > --- In ydn-javascript@yahoogroups.com, "Dan Olsen" <dan@...> wrote:
          > >
          > > I am trying to use the YUI Loader to load everything I need. However,
          > > it is only loading the CSS files and not the JS files. Can anyone tell
          > > me what the problem might be?

          Dan, you are trying to create a Menu instance before the scripts are
          fully loaded. Check out this example, and put your Menu instantiation
          code in the onLoadComplete property:

          http://developer.yahoo.com/yui/examples/yuiloader/yl-basic.html

          -Adam
        • Dan Olsen
          I have now created the menu in the onLoadComplete function but the JS files are still not being loaded. Any other ideas of why this is?
          Message 4 of 7 , Oct 8, 2007
          View Source
          • 0 Attachment
            I have now created the menu in the onLoadComplete function but the JS
            files are still not being loaded. Any other ideas of why this is?

            http://dev.cutiecloth.com/store

            --- In ydn-javascript@yahoogroups.com, Adam Moore <adamoore@...> wrote:
            >
            > On Mon, Oct 08, 2007 at 08:11:16PM -0000, Dan Olsen wrote:
            > > The site is http://dev.cutiecloth.com/store
            > >
            > > --- In ydn-javascript@yahoogroups.com, "Dan Olsen" <dan@> wrote:
            > > >
            > > > I am trying to use the YUI Loader to load everything I need.
            However,
            > > > it is only loading the CSS files and not the JS files. Can
            anyone tell
            > > > me what the problem might be?
            >
            > Dan, you are trying to create a Menu instance before the scripts are
            > fully loaded. Check out this example, and put your Menu instantiation
            > code in the onLoadComplete property:
            >
            > http://developer.yahoo.com/yui/examples/yuiloader/yl-basic.html
            >
            > -Adam
            >
          • Adam Moore
            ... This is because you have created an error before they are finished. Follow my previous advice and all will be well. ... --
            Message 5 of 7 , Oct 8, 2007
            View Source
            • 0 Attachment
              On Mon, Oct 08, 2007 at 09:01:55PM -0000, Dan Olsen wrote:
              > I have now created the menu in the onLoadComplete function but the JS
              > files are still not being loaded. Any other ideas of why this is?

              This is because you have created an error before they are finished.
              Follow my previous advice and all will be well.

              > --- In ydn-javascript@yahoogroups.com, Adam Moore <adamoore@...> wrote:
              > >
              > > On Mon, Oct 08, 2007 at 08:11:16PM -0000, Dan Olsen wrote:
              > > > The site is http://dev.cutiecloth.com/store
              > > >
              > > > --- In ydn-javascript@yahoogroups.com, "Dan Olsen" <dan@> wrote:
              > > > >
              > > > > I am trying to use the YUI Loader to load everything I need.
              > However,
              > > > > it is only loading the CSS files and not the JS files. Can
              > anyone tell
              > > > > me what the problem might be?
              > >
              > > Dan, you are trying to create a Menu instance before the scripts are
              > > fully loaded. Check out this example, and put your Menu instantiation
              > > code in the onLoadComplete property:
              > >
              > > http://developer.yahoo.com/yui/examples/yuiloader/yl-basic.html
              > >
              > > -Adam
              > >
              >
              >
              >
              >
              >
              > Yahoo! Groups Links
              >
              >
              >

              --
            • Adam Moore
              ... Sorry about that, I see now that you moved the code. Looking into it... -Adam
              Message 6 of 7 , Oct 8, 2007
              View Source
              • 0 Attachment
                On Mon, Oct 08, 2007 at 02:13:36PM -0700, Adam Moore wrote:
                > On Mon, Oct 08, 2007 at 09:01:55PM -0000, Dan Olsen wrote:
                > > I have now created the menu in the onLoadComplete function but the JS
                > > files are still not being loaded. Any other ideas of why this is?
                >
                > This is because you have created an error before they are finished.
                > Follow my previous advice and all will be well.

                Sorry about that, I see now that you moved the code. Looking into
                it...

                -Adam
              • dav.glass@yahoo.com
                Dan: This is why the code is not loading: http://developer.yahoo.com/yui/yuiloader/#knownissues Here is an example that works:
                Message 7 of 7 , Oct 8, 2007
                View Source
                • 0 Attachment
                  Dan:

                  This is why the code is not loading:
                  http://developer.yahoo.com/yui/yuiloader/#knownissues

                  Here is an example that works:
                  http://blog.davglass.com/files/yui/loader3/
                   
                  Hope that helps :)
                  Dav

                  Dav Glass
                  dav.glass@...
                  blog.davglass.com
                   
                   
                  + Windows: n. - The most successful computer virus, ever. +
                  + A computer without a Microsoft operating system is like a dog
                  without bricks tied to its head +
                  + A Microsoft Certified Systems Engineer is to computing what a
                  McDonalds Certified Food Specialist is to fine cuisine +


                  ----- Original Message ----
                  From: Dan Olsen <dan@...>
                  To: ydn-javascript@yahoogroups.com
                  Sent: Monday, October 8, 2007 2:01:55 PM
                  Subject: [ydn-javascript] Re: YUI Loader not loading JS files

                  I have now created the menu in the onLoadComplete function but the JS
                  files are still not being loaded. Any other ideas of why this is?

                  http://dev.cutieclo th.com/store

                  --- In ydn-javascript@ yahoogroups. com, Adam Moore <adamoore@.. .> wrote:
                  >
                  > On Mon, Oct 08, 2007 at 08:11:16PM -0000, Dan Olsen wrote:
                  > > The site is http://dev.cutieclo th.com/store
                  > >
                  > > --- In ydn-javascript@ yahoogroups. com, "Dan Olsen" <dan@> wrote:
                  > > >
                  > > > I am trying to use the YUI Loader to load everything I need.
                  However,
                  > > > it is only loading the CSS files and not the JS files. Can
                  anyone tell
                  > > > me what the problem might be?
                  >
                  > Dan, you are trying to create a Menu instance before the scripts are
                  > fully loaded. Check out this example, and put your Menu instantiation
                  > code in the onLoadComplete property:
                  >
                  > http://developer. yahoo.com/ yui/examples/ yuiloader/ yl-basic. html
                  >
                  > -Adam
                  >


                Your message has been successfully submitted and would be delivered to recipients shortly.