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

YAHOO is not defined in firefox browser.

Expand Messages
  • sharath karnati
    Hi All,      I m new to YUI. I m trying event example and it is throwing below error:   YAHOO is not defined YAHOO.util.Event.addListener( container ,
    Message 1 of 1 , Aug 25, 2008
    • 0 Attachment
      Hi All,
       
         I'm new to YUI. I'm trying event example and it is throwing below error:
       
      YAHOO is not defined
      YAHOO.util.Event.addListener("container", "click", helloWorld);
       
        For using YUI, I added below .js files in <head> tag
        

      <script type="text/javascript" src="js/yahoo-min.js"></script>

      <script type="text/javascript" src="js/utilities.js"></script>

      <script type="text/javascript" src="js/event-min.js"></script>

      <script type="test/javascript" src="js/yahoo-dom-event.js"></script>

      <script type="text/javascript" src="js/animation-min.js"></script>

      <script type="text/javascript" src="js/dragdrop-min.js"></script>
      <script type="text/javascript" src="js/container-min.js"></script>
       
          Copied all these .js files from YUI 'build' directory. 
          
          Here I'm attachming YUI_event.jsp file which I'm trying. For using YUI, other than adding .js files what else I need to do??
       
          Thanks in advance.
       
      Regards,
      Sharath Karnati.
       
         

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