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

Re: YUI Calendar - How to adjust the positioning of calendar

Expand Messages
  • jasoon_spence
    Thank you Erik. It s working great now. - Jason ... is ... Dialog ... ( tl ) ... for ... positioning
    Message 1 of 3 , Sep 26, 2008
    • 0 Attachment
      Thank you Erik. It's working great now.

      - Jason

      --- In ydn-javascript@yahoogroups.com, Eric Miraglia <miraglia@...>
      wrote:
      >
      > Jason,
      >
      > The positioning of the calendar in that example is governed by the
      > positioning of the Dialog that contains it. And the Dialog, which
      is
      > rendering into #container, is positioned with the following line:
      >
      > context:["show", "tl", "bl"]
      >
      > Here, "show" is the ID attribute of the button that shows the
      Dialog
      > with the Calendar inside it. So, the top left of the Dialog
      ("tl")
      > aligns to the bottom left corner ("bl") of #show.
      >
      > You can change this configuration by removing the context setting
      for
      > the Dialog and positioning the Dialog using its xy configuration
      > property:
      >
      > xy: [300, 300]
      >
      > Here's an example which implements these changes:
      >
      > http://ericmiraglia.com/yui/demos/calcontainer.php
      >
      > -Eric
      >
      >
      > On Sep 26, 2008, at 8:14 AM, jasoon_spence wrote:
      >
      > > http://developer.yahoo.com/yui/examples/calendar/calcontainer.html
      > >
      > > After you click the calendar icon, how do you adjust the
      positioning
      > > of
      > > the YUI calendar? I tried positioning through css but that's not
      > > working. Has anyone ever worked with this calendar before?
      > >
      > > Thanks,
      > > Jason
      > >
      > >
      > >
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.