Ticket #6965 (closed bug: worksforme)
datepicker example does not put 'next' and 'prev' buttons next to current month
|Reported by:||SanderP||Owned by:|
I just downloaded and installed a full jQuery UI install. The example includes a datepicker but it's not working correctly it seems. I want to include datepicker in my own website so for now it's the UI element I'm focused on. I copied snippets of the sample into a separate HTML file to try to narrow down the problem. That sample also doesn't work quite right.
Looks like I can't attach a screenshot so I'll try the describe the behavior. When I click in the textfield, the calendar appears. The problem is that the orange field with the current month and year first shows the 'prev' button, then on a new line the 'next' button and then on yet another line the month and year. With the examples online on your site these three should be on one line. If I hover over one of the buttons an extra line is added to the orange field which is then removed again, causing flickering. Clicking may or may not cause a month change, depending on how lucky you are.
This is with the latest Firefox 3 browser on Windows XP. IE shows a different behavior but also doesn't work right, the orange box is page wide.
Here's the code:
Datepicker $('#date').datepicker(); });
<h1>Datepicker example</h1> <input type="text" name="date" id="date" />