2012-10-29 72 views
0

我是移動開發新手。我的目標是將一個FullCalendar包含到JQueryMobile中。 我遵循本指南,但是當我使用Android模擬器運行它時,它將加載事件對話框頁面,輸入文本爲「標題」和「顏色」,如下圖所示。 click my imageAndroid模擬器中的FullCalander

我怎樣才能使它加載一個完整的日曆視圖而不是事件對話框? click my image

我已經模仿所有js & css。這裏是我的index.html代碼

<html> 
<head> 
    <link rel='stylesheet' type='text/css' href='resources/css/jquery-ui-1.8.13.custom.css'/> 
    <link rel='stylesheet' type='text/css' href='resources/css/fullcalendar.css'/> 
    <link rel='stylesheet' type='text/css' href='resources/css/application.css'/> 

    <script type='text/javascript' src='resources/js/jquery-1.5.1.min.js'></script> 
    <script type='text/javascript' src='resources/js/jquery-ui-1.8.13.custom.min.js'></script> 
    <script type='text/javascript' src='resources/js/fullcalendar.min.js'></script> 
    <script type='text/javascript' src='resources/js/underscore.js'></script> 
    <script type='text/javascript' src='resources/js/backbone.js'></script> 
    <script type='text/javascript' src='resources/js/application.js'></script> 
</head> 
<body> 
    <div id='calendar'></div>  

    <div id='eventDialog' class='dialog ui-helper-hidden'> 
     <form> 
      <div> 
       <label>Title:</label> 
       <input id='title' class="field" type="text"></input> 
      </div> 
      <div> 
       <label>Color:</label> 
       <input id='color' class="field" type="text"></input> 
      </div> 
     </form> 
    </div>  
</body> 

請指教如何加載完整的日曆視圖,而不是事件對話框來第一次。謝謝。

+0

附加組件 - 我按照此指南 http://blog.shinetech.com/2011/08/05/building-a-shared-calendar-with-backbone-js-and-fullcalendar-a-step-一步一步教程/ – user1661740

回答