A jQuery calendar plug-in based on jquery with event records

Source: Internet
Author: User

A jQuery calendar plug-in based on jquery with event records

We have also shared a lot of jQuery calendar plug-ins before. Some of them use the CSS3 features and have a very nice appearance. The jQuery calendar plug-in that you want to share today not only has a brilliant appearance, but also has a date event recording function. Click date to expand the Event Recording window, you can set the Event Description and reminder time. It is a relatively practical jQuery calendar plug-in.

Download Online Preview source code

Next, let's take a look at the implementation process and source code of this jQuery calendar plug-in with the event recording function. The Code mainly consists of HTML, CSS, and jQuery.

HTML code:

<div id="myId" class="jalendar">        <div class="added-event" data-date="14/12/2017" data-time="Tüm Gün" data-title="WWDC 13 on San Francisco, LA"></div>        <div class="added-event" data-date="16/12/2017" data-time="20:45" data-title="Tarkan İstanbul Concert on Harbiye Açık Hava Tiyatrosu"></div>        <div class="added-event" data-date="17/12/2017" data-time="21:00" data-title="CodeCanyon İstanbul Meeting on Starbucks, Kadıköy"></div>        <div class="added-event" data-date="17/12/2017" data-time="22:00" data-title="Front-End Design and Javascript Conferance on Haliç Kongre Merkezi"></div>        <div class="added-event" data-date="17/12/2017" data-time="22:00" data-title="Lorem ipsum dolor sit amet"></div>    </div>

CSS code:

.jalendar {    position: relative;    width: 300px;    margin: 30px auto;}.jalendar .left {    float: left;}.jalendar .clear {    clear: both;}.jalendar.mid {    width: 420px;}.jalendar .added-event {    display: none;}.jalendar-wood {    position: relative;    background: url('../images/jalendar-wood-bg.png') left top;    border-radius: 10px;    box-shadow: inset 0 1px 1px rgba(255,255,255,0.7), inset 0 -2px 10px rgba(255,255,255,0.3);    padding: 15px;    border-bottom: 1px solid rgba(255,255,255,0.2);    border-top: 1px solid #e1bf89;    border-right: 1px solid #b4925d;    border-left: 1px solid #b4925d;    display: inline-block;    z-index: 2;}

JQuery code:

$(function () {    $('#myId').jalendar({        customDay: '2017/12/01',  // Format: Year/Month/Day        color: '#ed145a', // Unlimited Colors        lang: 'EN' // Format: English — 'EN', Türkçe — 'TR'    });});

Via: http://www.w2bc.com/Article/12683

Mengmeng IT people

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.