public
Description: Yet Another Javascript framework
Homepage: http://jplus.nowazhu.com
Clone URL: git://github.com/nowa/jplus.git
Click here to lend your support to: jplus and make a donation at www.pledgie.com !
jplus / examples / dcalendar.html
100644 73 lines (60 sloc) 1.508 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
 
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <title>dcalendar</title>
  <meta name="generator" content="TextMate http://macromates.com/">
  <meta name="author" content="nowa">
  <script src="../dist/jplus.js" type="text/javascript" charset="utf-8"></script>
  <script src="../src/utilities/dcalendar.js" type="text/javascript" charset="utf-8"></script>
  <!-- Date: 2008-07-17 -->
  <style type="text/css" media="screen">
    #main {
      width: 950px;
      margin: 0 auto;
    }
    
    h3 .author{
      font-size: 12px;
      font-weight: normal;
    }
    
    .dcalendar{
      background-color:#CCCCCC;
      text-align:center;
    }
    
    .dcalendar td{
      background-color: #fff;
    }
    
    .dcalendar .dcal-days td{
      width: 20px;
      height: 30px;
      line-height: 30px;
    }
    
    .dcal-days td.selected{
      background-color: #0099CB;
      color: #fff;
    }
    
    .dcal-days td.mouseover{
      background-color: #E6EEF6;
    }
    
    .dcal-days td.saled{
      background-color: #E8E8E8;
      color: gray;
    }
    
    .dcal-selected{
      margin: 10px 20px;
    }
    
    .dcal-selected li{
      line-height: 20px;
    }
  </style>
</head>
<body>
  
  <div id="main">
    <h3>DCalendar <span class="author">by <a href="http://nowazhu.com/blog/">nowa</a></span></h3>
    
    <div jpc="dcalendar" gray="2008-07-03;2008-07-10~2008-07-17;2008-08-04~2008-08-20"></div>
    <br><br><br>
    <div jpc="dcalendar"></div>
  </div>
 
</body>
</html>