JQuery Easyui API Chinese documents-Calendar calendar using _jquery

Source: Internet
Author: User

rewrite the defaults with $.fn.calendar.defaults.


Usage

Copy Code code as follows:

<div id= "CC" style= "width:180px;height:180px;" ></div>

Copy Code code as follows:

$ (' #cc '). Calendar ({
width:600,
height:600,
Current:new Date ()
});

Characteristics

name

type

description

default

width

number

the width of the calendar component.

180

height

number

the height of the calendar component.

180

fit

boolean

true sets the size of the calendar to fit its parent container. /span>

false

border

boolean

define whether borders are displayed 。

true

weeks

array

displays the calendar for the week.

[', ' M ', ' t ', ' W ', ' t ', ' F ', ' S ',

months

array

displays a list of the months.

[', ' Feb ', ' Mar ', ' Apr ', ' may ', ' June ', ' may ', ' Aug ', ' Sep ', ' Oct ', ' Nov ', ' Dec ' ]

year

number

calendar year.

current year (4 bit"

month

number

calendar month.

current month (from 1 start)

Current

Date

Date of the calendar.

Current date

Event

name

parameters

description

Onselect

Date

Triggered when the user selects a date.

Method

name

parameters

description

options

none

back to options object.

resize

none

adjust the size of the calendar.

MoveTo

Date

Move the calendar to a specified date.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.