Solved

jQuery DatePicker

Posted on 2013-05-13
2
435 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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

Suggested Solutions

In case you ever have to remove a faulty web part from a page , add the following to the end of the page url ?contents=1
This article discusses how to implement server side field validation and display customized error messages to the client.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. 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.: (CODE)

733 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