Changes between Version 1 and Version 2 of Ticket #8223, comment 11
- Timestamp:
- Oct 30, 2016, 12:50:06 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #8223, comment 11
v1 v2 9 9 }}} 10 10 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. 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. This can be used for multiple instantiations on a single page. 12 12 13 13 The "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.