支持添加事件jQuery日历是一款可以实时添加删除时间的jquery日历插件代码,感兴趣的朋友快来学习学习吧
运行效果图:----------------------查看效果 下载源码-----------------------
小提示:浏览器中如果不能正常运行,可以尝试切换浏览模式。
为大家分享的jQuery支持添加事件的日历特效代码如下
<head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>支持添加事件jQuery日历</title> <link href="https://www.jb51.net/style/documentation.css" type="text/css" /> <link href="https://www.jb51.net/style/jalendar.css" type="text/css" /> <script type="text/javascript" src="https://www.jb51.net/js/jquery-1.10.2.min.js"></script><!--jQuery--> <script type="text/javascript" src="https://www.jb51.net/js/jalendar.js"></script> <script type="text/javascript"> $(function () { $('#myId').jalendar({ customDay: '2017/12/01', // Format: Year/Month/Day color: '#ed145a', // Unlimited Colors lang: 'EN' // Format: English — 'EN', Türkçe — 'TR' }); $('#myId2').jalendar({ customDay: '2016/02/29', color: '#023447', lang: 'ES' }); $('#myId3').jalendar(); }); </script> </head> <body> <article> <div> <div data-date="14/12/2017" data-time="Tüm Gün" data-title="WWDC 13 on San Francisco, LA"></div> <div data-date="16/12/2017" data-time="20:45" data-title="Tarkan İstanbul Concert on Harbiye Açık Hava Tiyatrosu"></div> <div data-date="17/12/2017" data-time="21:00" data-title="CodeCanyon İstanbul Meeting on Starbucks, Kadıköy"></div> <div data-date="17/12/2017" data-time="22:00" data-title="Front-End Design and Javascript Conferance on Haliç Kongre Merkezi"></div> <div data-date="17/12/2017" data-time="22:00" data-title="Lorem ipsum dolor sit amet"></div> </div> <div></div> <div> <div data-date="9/8/2013" data-time="Tüm Gün" data-title="WWDC 13 on San Francisco, LA"></div> <div data-date="16/8/2013" data-time="20:45" data-title="Tarkan İstanbul Concert on Harbiye Açık Hava Tiyatrosu"></div> <div data-date="17/8/2013" data-time="21:00" data-title="CodeCanyon İstanbul Meeting on Starbucks, Kadıköy"></div> <div data-date="17/8/2013" data-time="22:00" data-title="Front-End Design and Javascript Conferance on Haliç Kongre Merkezi"></div> <div data-date="17/12/2017" data-time="22:00" data-title="Lorem ipsum dolor sit amet"></div> </div> </article> <div> </div> </body> </html>
以上就是为大家分享的jQuery支持添加事件的日历特效代码,希望大家可以喜欢。
您可能感兴趣的文章: