Changes between Version 1 and Version 2 of Ticket #8223, comment 11


Ignore:
Timestamp:
Oct 30, 2016, 12:50:06 PM (6 years ago)
Author:
Arlen Johnson
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #8223, comment 11

    v1 v2  
    99}}}
    1010
    11 For example, the "other-selector" could be the parent of the "first-selector": $(this).closest('first-selector-parent'). This picks up the single #ui-datepicker-div box (which jQuery UI places at the end of the DOM) and moves it to a location somewhere else within the document.
     11For example, the "other-selector" could be the parent of the "first-selector": $(this).closest('first-selector-parent'). This picks up the single #ui-datepicker-div box (which jQuery UI places at the end of the DOM) and moves it to a location somewhere else within the document. This can be used for multiple instantiations on a single page.
    1212
    1313The "other-selector" should have position: relative; so that the absolutely positioned #ui-datepicker-div becomes positioned relative to the new parent. Once so, it scrolls just fine.