Solved

Time picker

Posted on 2014-03-31
4
466 Views
Last Modified: 2014-04-02
Hi,

I want to use this plugin Time Picker but, I am all confused of what file I have to include and
what I need to do to have this plugin time picker working on my page.

I need your help please.  

I attached a picture of the example, I want to use on my page.

this is the link that provide the example:

http://wearespaces.com/plugins/jquery-timepicker/


c

<script type="text/javascript" src="js/jquery-ui-timepicker-addon.js"></script>

<script language="javascript" type="text/javascript">
	$(document).ready(function () {

$('#slider_example_1').timepicker({
	hourGrid: 4,
	minuteGrid: 10,
	timeFormat: 'hh:mm tt'
});

});

</script>


/* css for timepicker */
.ui-timepicker-div .ui-widget-header { margin-bottom: 8px; }
.ui-timepicker-div dl { text-align: left; }
.ui-timepicker-div dl dt { height: 25px; margin-bottom: -25px; }
.ui-timepicker-div dl dd { margin: 0 10px 10px 65px; }
.ui-timepicker-div td { font-size: 90%; }
.ui-tpicker-grid-label { background: none; border: none; margin: 0; padding: 0; }

.ui-timepicker-rtl{ direction: rtl; }
.ui-timepicker-rtl dl { text-align: right; }
.ui-timepicker-rtl dl dd { margin: 0 65px 10px 10px; }




 <div>
<input type="text" name="slider_example_1" id="slider_example_1" value="" />
						</div>
	

Open in new window

0
Comment
Question by:lulu50
  • 2
  • 2
4 Comments
 
LVL 22

Expert Comment

by:Mrunal
ID: 39967102
Hi lulu50,
you need to include couple of javascript and css files.

These are listed below:

<link rel="stylesheet" media="all" type="text/css" href="http://code.jquery.com/ui/1.10.0/themes/smoothness/jquery-ui.css">
<link rel="stylesheet" media="all" type="text/css" href="jquery-ui-timepicker-addon.css">
<script type="text/javascript" src="http://code.jquery.com/jquery-1.9.0.min.js"></script>
<script type="text/javascript" src="http://code.jquery.com/ui/1.10.0/jquery-ui.min.js"></script>
<script type="text/javascript" src="jquery-ui-timepicker-addon.js"></script>
<script type="text/javascript" src="jquery-ui-sliderAccess.js"></script>

Open in new window


All these files you can easily get by:

right click on above link page you have given and just click save as...!

Hope this helps you.
0
 

Author Comment

by:lulu50
ID: 39967123
I don't see a download for these files?

Still confused
0
 
LVL 22

Accepted Solution

by:
Mrunal earned 500 total points
ID: 39968890
hi,
if you right click and select save as, in download window, select "WebPage Complete" as file type.

On destination path, one html page and and one folder will get downloaded.
In this folder, you can get all those javascript files (they may be inside some folder like style and scripts)

Hope this helps you.
0
 

Author Closing Comment

by:lulu50
ID: 39972304
Thank you
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Sums of coloumns in html/java 15 68
Clear single text form value in jquery 2 30
How to avoid jquery conflicts in Wordpress ? 4 24
insert text field data into html script 13 30
Introduction A frequently asked question goes something like this:  "I am running a long process in the background and I want to alert my client when the process finishes.  How can I send a message to the browser?"  Unfortunately, the short answer …
Introduction Chart.js, used properly, can visually add a difference to your charting applications. It engages your visitors and allows them to interact with data they otherwise wouldn't be able to without expensive and complicated systems. For this…
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…

862 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

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now