非常酷JS动态日历

所属分类:输入-日期和时间

 34267  292  查看评论 (1)
分享到微信朋友圈
X
非常酷JS动态日历 ie兼容6

使用方法:

css:

<link href="css/timeline.css" type="text/css" rel="stylesheet" />

js:

<script type="text/javascript" src="js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="js/timeline-min.js"></script>

html:

用title来控制是在日历的哪一天,class用作跳出的标题使用,标签包含的是内容。

<div id="wrap">
    <div id="timeline">
        <ul>
            <li class="July first, don't forget!" title="Wed Jul 1 2015">
                Microsoft wants to buy yahoo. What do you think?
            </li>
            <li class="Idependance Day" title="Sat Jul 4 2015">
                Happy independance day America
            </li>
            <li class="Jenny's B'day" title="Sun Jul 19 2015">
                Must get the biggest toy I can to make Jenny really happy :)
            </li>
            <li class="American Pie 4 is coming out" title="Thu Jul 23 2015">
                We really need to watch this movie. The ratings are so high!
            </li>
            <li class="DenonStudio is shows off the new Timeline calendar" title="Wed Jul 22 2015">
                This script is really hot. Can't wait to have it
            </li>
            <li class="ThemeForest launches the JavaScript component" title="Fri Jul 31 2015">
                Make sure to check regularly for hot new scripts
            </li>
            <li class="Dentist appointment" title="Wed Jul 22 2015">
                4:35 pm. Make sure not to eat anything for the last 24 hours. Got I hope
                I don't die :|
            </li>
        </ul>
    </div>
</div>
相关插件-日期和时间

手写日期选择器

简单实用的js日期选择器
  日期和时间
 43939  304

只选择小时、分的时间插件jquery-timepicker.js

HunterTimePicker 时间选择组件,可以选择小时和分钟,小时为24小时制,分钟间隔为5分钟。
  日期和时间
 79772  371

timeago.js自动将时间戳转换为更易读的时间轴

timeago.js是一款基于jQuery的时间处理插件,它可以轻易的将时间戳转换成如:5分钟前,约3小时前这样的更友好易读的时间轴
  日期和时间
 27924  342

jQuery日历插件支持多选、单选日期(原创)

日历支持多选日期单选日期等
  日期和时间
 31962  212

讨论这个项目(1)回答他人问题或分享插件使用方法奖励jQ币 评论用户自律公约

    小右 0
    2015/12/2 13:12:03

    如果自定义几个日期 能把自定义的日期也变成绿色吗

    回复
😃
  • 😀
  • 😉
  • 😥
  • 😵
  • 😫
  • 😘
  • 😡
  • 👍
  • 🌹
  • 👏
  • 🍺
  • 🍉
  • 🌙
  • 💖
  • 💔
😃
  • 😀
  • 😉
  • 😥
  • 😵
  • 😫
  • 😘
  • 😡
  • 👍
  • 🌹
  • 👏
  • 🍺
  • 🍉
  • 🌙
  • 💖
  • 💔
取消回复