jQuery UI Datepicker flashes in Firefox

jQuery UI Datepicker flashes in Firefox

I stated that I had the same issue in another reported problem, but his was slightly different than mine. Apologies if I should have replied there.

When using the DatePicker with changemonth, changeyear, and a daterange of more than 20 entries on Firefox 3.6.2, there is a flicker of the page background color. On the page that I am working on, there is a large flicker, and then subsequent clicks there is only a small flicker. On this demo page, there is first a flicker on the input box, and then a larger flicker with subsequent clicks (clicking out and then back in).

The demo page can be found here:  http://tiatest.comyr.com/

The html is the code located on the DatePicker demo page, with the addition of some (ugly) css and ", yearRange: '1980:2012'" .

Here is the HTML:
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <title>Jquery DatePicker</title>
  6. <style type="text/css">
  7. body{background-color:#000; color:#fff}
  8. #container{background-color:#f3f3f3; color:#ccc; height:100px;}
  9. </style>
  10. <script type="text/javascript" src="http://www.google.com/jsapi?key=ABQIAAAA50Pro5aanwJ5A-A4F58OjhSexl0fhAY8BQo_P-WomlZ_vjhIShSIqw1GVNyXzpLncOL1xWGZKGN7hQ"></script>
  11. <script type="text/javascript">
  12. google.load("jquery", "1.4.2");
  13. google.load("jqueryui", "1.8.0");
  14. </script>
  15. </head>
  16. <body>
  17. <meta charset="UTF-8" />
  18. <script type="text/javascript">
  19. $(function() {
  20. $('#datepicker').datepicker({
  21. changeMonth: true
  22. , changeYear: true
  23. , yearRange: '1980:2012'
  24. });
  25. });
  26. </script>
  27. <div class="demo" id="container">
  28. <p>Date: <input type="text" id="datepicker"></p>
  29. </div><!-- End demo -->
  30. <div class="demo-description">
  31. <p>Show month and year dropdowns in place of the static month/year header to facilitate navigation through large timeframes.  Add the boolean <code>changeMonth</code> and <code>changeYear</code> options.</p>
  32. </div><!-- End demo-description -->
  33. </body>
  34. </html>