» Forums
» DynarchMenu forum
» Support
» Use of the Calendar inside the DynarchMenu
| Use of the Calendar inside the DynarchMenu ¶ | |
| This does not seem to work. The instance on the page works fine, but the one on the menu is displayed, but it gets confused and the date selection as well as the month and year drop downs do not work. Am I doing something wrong? Suggestions? <body onload="DynarchMenu.setup('context-menu',{context:true});"> <br /> <br /> Popup Menu goes here <span id='test1' style='border:red solid 1px' class="div1">Right click me!</span><br /> <br /> <br /> <div style="float: right; margin-left: 1em; margin-bottom: 1em;" id="calendar-container-page"></div> <script type="text/javascript"> function dateChanged_page(calendar) {}; Calendar.setup({flat : "calendar-container-page", flatCallback : dateChanged_page}); </script> <ul id="context-menu" style="display: none"> <li class="context-class-span-div1"> <ul> <li>Item 1</li> <li>Calendar Test <ul> <li> <div> <div align="center"> <input type="radio" name="rd_cal">on or before <input type="radio" name="rd_cal">between <input type="radio" name="rd_cal" checked>on or after </div> <hr /> <div style="float: center; margin-bottom: 1em;" id="calendar-container-menu"></div> <script type="text/javascript"> function dateChanged_menu(calendar) {}; Calendar.setup({flat : "calendar-container-menu", flatCallback : dateChanged_menu}); </script> </div> </li> </ul> </li> </ul> </li> </ul> </body> | |
| Re: Use of the Calendar inside the DynarchMenu ¶ | |
| BTW: the behavior in IE is different from the behavior in Firefox. In Firefox the calendar is inert. In IE the calendar seems to resize as the mouse hovers (CSS problem?) and the date selection loses its state after you click on the month and year drop downs (mouse events/state being lost?) . | |
| last |














