我遇到了实施FullCalendar的问题... 我想,我做了所有关于“基本用法”主题的说明http://arshaw.com/fullcalendar/docs/usage/ 为什么这段代码没有出现我的callendar在我的.html?完整的日历问题实施
<!DOCTYPE html SYSTEM "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>
Callendar Test
</title>
<link rel='stylesheet' type='text/css' href='fullcalendar.css' />
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src='fullcalendar.js'></script>
<script type="text/javascript">
$(document).ready(function() {
// page is now ready, initialize the calendar...
$('#calendar').fullCalendar({
// put your options and callbacks here
})
});
</script>
</head>
<body>
<div id='calendar'></div>
</body>
</html>
任何解决方案?
P.S .:我下载了Jquery文件(版本1.x)并放在与我的HTML页面相同的文件中。
错误:
Unknown property 'zoom'. Declaration dropped. fullcalendar.css:107
18:50:38.058 Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. fullcalendar.css:133
18:50:38.058 Error in parsing value for 'background-image'. Declaration dropped. fullcalendar.css:213
18:50:38.058 Error in parsing value for 'background-image'. Declaration dropped. fullcalendar.css:214
18:50:38.058 Error in parsing value for 'background-image'. Declaration dropped. fullcalendar.css:215
18:50:38.058 Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. fullcalendar.css:255
18:50:38.058 Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. fullcalendar.css:414
18:50:38.059 Expected declaration but found '*'. Skipped to next declaration. fullcalendar.css:532
18:50:38.059 Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. fullcalendar.css:575
18:50:38.059 Error in parsing value for 'display'. Declaration dropped. fullcalendar.css:580
18:50:38.092 ReferenceError: moment is not defined fullcalendar.js:12
18:50:38.094 The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol. FullCalendar.html
18:50:38.116 TypeError: $(...).fullCalendar is not a function
这是我的目录:
打开浏览器控制台查看得到的是什么错误 – Satpal
我在这里看不到任何错误...?您将jQuery文件重命名为'jquery.js',并且您的'calendar.js'和您的'html页面'都位于同一个本地区域?你可能只是在你的文件名中有一个拼写错误,就像在你的'title' ** Callendar **中一样。它是'fullcalendar.js'。 –
我没有重新命名我的callendar – Damiii