Check out my NEW training website for front-end web developers, FrontendMasters.com

jQuery UI Datepicker Themes

August 08, 2008

Note on December 21, 2008: The datepicker is undergoing layout changes. I will update this page when the datepicker style migration is complete. Use themeroller to see the theme builder.

Like this article? You'll like my NEW training website for front-end web developers!

Video workshops on jQuery, JavaScript, HTML5, web performance and more.
Upgrade your front-end developer skills!

31 comments

#1. royalol on August 08, 2008

Wow! These themes round out the UI Datepicker very nicely.

#2. Robert on August 11, 2008

Great themes! I wish the guys at UI would take a look at these.

#3. Marc Grabanski on August 11, 2008

Robert: When you say, “guys at UI” – are you talking about the jQuery UI team? I got these themes from the jQuery UI ThemeRoller. The fact is that many people do not know this exists, so they tell me that the datepicker looks, “ugly”. When in fact there are many themes for it.

#4. Varun on August 20, 2008

WOW — Wonderfull — Awsome .. I think that describes your efforts .. THANKS

#5. Varun on August 20, 2008

Sorry didn’t had any idea about from where to get Help on your Skinned Datepicker and where to post this Issue of MINE.

I’ve faced this ISSUE RIGHT here in this Page while viewing in IE 7 also as well as where I implemented in my site. :(

The Date Pickers DO NOT Open as they do in Firefox UNDER Text Input Control. The datepickers Open Up way over the Input Control overlapping whole text Input Control. is this behaviour noticeable by you too? What can I do to have it Open Up fine in IE 7 too?

#6. Hung on September 03, 2008

These themes are so beautiful. Thanks!

#7. John Shu on September 06, 2008

Varun you have to put in a doctype on the very beginning of your page, I used the following doctype declaration and it positions correctly in ie7 now.

<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN” “http://www.w3.org/TR/html4/loose.dtd”>

#8. Darren on September 10, 2008

John, thank you for that help with the doctype. It was driving me crazy! I didn’t have the http portion and couldn’t figure out why in IE it was positioning weird. Working great now.

#9. Mo on September 18, 2008

Is it me or are these theme arrows not working when you have a mindate and you’re in the first month?

#10. nabs on September 29, 2008

nice works…

#11. Hub on October 08, 2008

Many many thanks for these very useful themes !

#12. Kevin on November 05, 2008

Question, is it possible to create a Google or Yahoo like calendar with this? Where the calendar displays actual appointments/items on a day(s)?

#13. Justin on November 18, 2008

Rick, I had the same problem and I changed the “hideIfNoPrevNext” variable on line 92 of the js file from “false” to “true” to eliminate the links altogether when they didn’t apply.

Would be nice if the link just became inactive though and the same image showed up instead.

Great plugin and themes guys!

#14. neryo on December 12, 2008

Hi there!
i have a question.. this calendar date starts on year 1998… can i change the start date in the ui.datepicker? I have tried to put the option startDate:“01-01-1950”, but it seems does’t work.. can you help me? thank you! nice work.. neryo

#15. Chen on December 12, 2008

Any chance you can have a UI Event, which is an event calendar.

#16. Iz on December 16, 2008

Neryo, as far as i know startDate is not available. U can use minDate to change the start date. For the details please check http://docs.jquery.com/UI/Datepicker/datepicker#toptions.

#17. Marc Grabanski on December 16, 2008

@neryo: just set the date inside the field to what you want the start date to be. You can also do this on the focus event of the input field.

#18. Max on December 21, 2008

For me this page is not working. With firebug I read this error :
$(“#inline”).datepicker is not a function
[Break on this error] $(“#inline”).datepicker({ changeFirstDay: false });

So I can’t see any themes

#19. Marc Grabanski on December 21, 2008

Sorry about that, I took the datepicker themes down because the jQuery UI team is undergoing changing the layout and markup of datepicker. I’ll update this page when the migration is complete.

#20. xgmz on December 23, 2008

Thanx John Shu, your tip about the DOCTYPE allowed correct position on IE7!!!

#21. Julian on January 03, 2009

Hi, I need to place the datepicker popup just besides the calendar icon, but I did not realize how to fix the calendar position and avoid that behavior to be displayed at the top or below the date calendar/textbox. Is there anyway (or parameter) to fix the popup position just besides the calendar? Thanks a lot.

#22. Markus on January 12, 2009

Hi,
when activating the calendar it always pops up at position (top 397px / left 520px). what do i need to do in order to fix the calendar position so that it pops up directly under the input box / calendar icon?
Thanks a lot.

#23. Gorbachev Victor on January 18, 2009

Marc, hello.
When datepicker style migration would be complete? some days, weeks or months? Thanks

#24. Jan Vandorpe on January 23, 2009

I’m having trouble with the size of the datepicker: if I just plug it in, it pops up far too large, due to interference with my other stylesheets.
After some experimenting I found I have to load the theme stylesheet before any other and control the size by adding a stylerule like

.ui-datepicker-div, .ui-datepicker-inline, #ui-datepicker-div {font-size:0.8em}

in my main stylesheet.
Anybody else having this trouble?

#25. Bhargav Patel on March 03, 2009

how can i fix date picker position in IE7 as it not display beside my image icon as it display at one fix place of page…

#26. Ivar K on August 12, 2009

I’m having the same trouble as Jan Vandorpe, but his fix works… :-)

#27. Lalit on August 26, 2009

While using the datepicker in IE there is an equal amount of white background space displayed below the datepicker with a text displayed as “false” .. How can i rectify this error?? .. Also is there a way to position the datepicker in the browser window ..
Thanks

#28. shenzhen on February 07, 2010

Where are you the Plugins Theme?

#29. Rafa on August 12, 2010

same issue as Jan and Ivar, great solution by Jan, worked perfectly!

#30. Asp.Net on October 06, 2010

Nice themes, good job, this will be very helpful for my projects

#31. Asif hameed on January 03, 2012

I have applied theme on datepicker from the themeGallery of jquery, i am facing problem in layout when i selected language Arabic.It shows next and prev buttons not rightly centered aligned So please look at the following and suggest me something work.
http://jqueryui.com/themeroller/#ffDefault=Trebuchet+MS%2C+Helvetica%2C+Arial%2C+sans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=6px&bgColorHeader=9999cc&bgTextureHeader=02_glass.png&bgImgOpacityHeader=35&borderColorHeader=9999cc&fcHeader=ffffff&iconColorHeader=000000&bgColorContent=9999cc&bgTextureContent=05_inset_soft.png&bgImgOpacityContent=50&borderColorContent=aaaaaa&fcContent=ffffff&iconColorContent=999999&bgColorDefault=eeeeee&bgTextureDefault=02_glass.png&bgImgOpacityDefault=60&borderColorDefault=cccccc&fcDefault=000000&iconColorDefault=70b2e1&bgColorHover=9999cc&bgTextureHover=02_glass.png&bgImgOpacityHover=100&borderColorHover=bbbbbb&fcHover=599fcf&iconColorHover=3383bb&bgColorActive=999999&bgTextureActive=06_inset_hard.png&bgImgOpacityActive=55&borderColorActive=999999&fcActive=ffffff&iconColorActive=454545&bgColorHighlight=eeeeee&bgTextureHighlight=01_flat.png&bgImgOpacityHighlight=55&borderColorHighlight=ffffff&fcHighlight=444444&iconColorHighlight=3383bb&bgColorError=c0402a&bgTextureError=01_flat.png&bgImgOpacityError=55&borderColorError=c0402a&fcError=ffffff&iconColorError=fbc856&bgColorOverlay=eeeeee&bgTextureOverlay=01_flat.png&bgImgOpacityOverlay=80&opacityOverlay=80&bgColorShadow=aaaaaa&bgTextureShadow=01_flat.png&bgImgOpacityShadow=0&opacityShadow=60&thicknessShadow=4px&offsetTopShadow=4px&offsetLeftShadow=4px&cornerRadiusShadow=0pxdow%3D0px

Leave a comment

Comment in textile images by gravatar