Solved

jQuery DatePicker

Posted on 2013-05-13
2
438 Views
Last Modified: 2013-05-13
Hi All,

I started a new project and they are using a plugin from http://jqueryui.com/

I used the datepicker they have but can't figure out how to add color to the calendar to look more professional/presentable.

If  anyone has used this before, please help.  I created a form and am using it in SharePoint 2010.  Will eventually add it to a web part page.

datePicker image
0
Comment
Question by:Isaac
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 44

Accepted Solution

by:
Rainer Jeschor earned 300 total points
ID: 39161442
Hi,
I have used the jQuery UI datepicker sometimes in custom ASP.NET pages in SharePoint. To look properly you have to include the jQuery UI CSS file. From your screenshot it looks like that there is no stylesheet referenced
On the jQuery UI page you have the choice to either download one of the predefined styles OR even create your own style.

HTH
Rainer
0
 
LVL 5

Assisted Solution

by:manojce
manojce earned 200 total points
ID: 39161519
Hi,

Datetime picker is working fine on FireFox browser but due to CSS reading issue can't open images & class in IE.

There is some script block in IE because sometime @import is not working.
So please add below lines.

<link rel="stylesheet" href="../../themes/base/jquery.ui.core.css"/>

<link rel="stylesheet" href="../../themes/base/jquery.ui.accordion.css"/>
<link rel="stylesheet" href="../../themes/base/jquery.ui.autocomplete.css"/>
<link rel="stylesheet" href="../../themes/base/jquery.ui.button.css"/>
<link rel="stylesheet" href="../../themes/base/jquery.ui.datepicker.css"/>
<link rel="stylesheet" href="../../themes/base/jquery.ui.dialog.css"/>
<link rel="stylesheet" href="../../themes/base/jquery.ui.menu.css"/>
<link rel="stylesheet" href="../../themes/base/jquery.ui.progressbar.css"/>
<link rel="stylesheet" href="../../themes/base/jquery.ui.resizable.css"/>
<link rel="stylesheet" href="../../themes/base/jquery.ui.selectable.css"/>
<link rel="stylesheet" href="../../themes/base/jquery.ui.slider.css"/>
<link rel="stylesheet" href="../../themes/base/jquery.ui.spinner.css"/>
<link rel="stylesheet" href="../../themes/base/jquery.ui.tabs.css"/>
<link rel="stylesheet" href="../../themes/base/jquery.ui.tooltip.css"/>

<link rel="stylesheet" href="../../themes/base/jquery.ui.theme.css"/>

Thanks,
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to build a simple, quick and effective accordion menu using just 15 lines of jQuery and 2 css classes
Introduction JSON is an acronym for JavaScript Object Notation.  It is a text-string data transport mechanism, capable of representing simple or complex data structures in a consistent and easy-to-read manner.  Similar in concept to XML, but more e…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

687 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question