Changes between Initial Version and Version 1 of Ticket #8592, comment 1
- Timestamp:
- Sep 22, 2012, 12:56:35 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #8592, comment 1
initial v1 2 2 3 3 In the code I pasted above, replace this: 4 4 5 $('html').click(function () { 5 6 $.datepicker._hideDatepicker(); … … 7 8 8 9 with the following segment of code: 10 9 11 if (!$target.is('html')) { 10 12 $.datepicker._hideDatepicker(); … … 14 16 15 17 After the <body> tag on your page add: 18 16 19 <div id="underneath" style="position:absolute; width:0px; height:0px; z-index:-10000; top:0; overflow:hidden; background-color:transparent;"></div> 17 20 18 21 In your style sheet or within your <style> tag add this: 22 19 23 html{overflow-x:hidden} 20 24 21 Finally just prior to the </body> tag add the following script 25 Finally just prior to the </body> tag add the following script: 26 22 27 <script type="text/javascript"> 23 28 jq171('#underneath').css('height', jq171(document).height() + 'px'); 29 24 30 jq171('#underneath').css('width', jq171(window).width() + 'px'); 31 25 32 jq171('#underneath').css('left', "0"); 26 33