https://github.com/mostafatech/persianfullcalendar
https://github.com/mostafatech/persianfullcalendar
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mostafatech/persianfullcalendar
- Owner: MostafaTech
- Created: 2014-09-15T03:38:59.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-09-15T04:50:30.000Z (over 11 years ago)
- Last Synced: 2025-01-08T15:24:09.603Z (over 1 year ago)
- Language: JavaScript
- Size: 449 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
persianFullCalendar
===================
Persian Full Calendar for Jquery>=1.8 And Bootstarp 3.0
[there is an online preview available by rawgit](https://rawgit.com/MostafaTech/persianFullCalendar/master/index.html)
Implemention
------------
```html
```
```javascript
$(function () {
$('#cal').persianDatepicker({
// pined dates
dates: ['1393/06/16', '1393/06/16', '1393/06/25'],
// what happens on clicking a day
onSelect: function (value) {
alert(value);
}
});
});
```
Some notes
-----
if you are not using Bootstarp just set the `box-sizing: border-box` for calendar container
```css
#cal {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
```
Thanks
------
this plugin is based on [behzadi/persianDatepicker](https://github.com/behzadi/persianDatepicker)
> **if you use this in your projects, please let me know**
> mostafaTech@gmail.com