?
Solved

Time picker

Posted on 2014-03-31
4
Medium Priority
?
483 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
[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
  • 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 2000 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
In this blog, we’ll look at how improvements to Percona XtraDB Cluster improved IST performance.
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)
Suggested Courses

650 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