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

Re: [ydn-javascript] Re: Custom calendar renderers not working?

Expand Messages
  • Philip Tellis
    ... In javascript, those would be global methods, or more correctly, methods of the default object. In the browser context, the default object is the window.
    Message 1 of 4 , Feb 15, 2006
    • 0 Attachment
      Sometime Today, JA cobbled together some glyphs to say:

      > my holiday example now works. The reason renderBodyCellRestricted
      > didn't work is because I was treating it as a static function
      > reference by using "YAHOO.widget.Calendar.renderBodyCellRestricted"
      > verbatim rather than "cal1.renderBodyCellRestricted". I don't even
      > know if there's such a thing as a static function reference in
      > Javascript - I'm a Java developer so I just think of it that way. :)

      In javascript, those would be global methods, or more correctly, methods
      of the default object. In the browser context, the default object is
      the window.

      --
      Nothing I do is my fault.
      -- Calvin
    Your message has been successfully submitted and would be delivered to recipients shortly.