演示:
<script type="text/javascript">
function itinerary() {
today = new Date();
var div = document.getElementById("div");
var jsondata = {
"weeks":[
{"week":"星期日"}, //0
{"week":"星期一"}, //1
{"week":"星期二"}, //2
{"week":"星期三"}, //3
{"week":"星期四"}, //4
{"week":"星期五"}, //5
{"week":"星期六"}, //6
],
"schedule":[
//{"week":"星期几", "from":"几点", "to":"到几点", "html":"事件内容"},
{"week":"-1", "from":"23", "to":"24", "html":"每日事件" ..
访客只能看到部份内容,免费 加入会员 或由脸书 Google 可以看到全部内容