2012-09-13 50 views
6

Tôi đang cung cấp dịch vụ HTML tập lệnh Google Apps để thử với giao diện người dùng JQuery.Giao diện người dùng JQuery trong Dịch vụ HTML của Google Apps Script rất chậm

Tôi đã tạo một trường hợp thử nghiệm đơn giản với trường ngày nhưng mức độ phản hồi của tiện ích con ngày tháng rất thấp. Phải mất ít nhất 3 giây để trình hiển thị ngày xuất hiện. Điều hướng đến tháng tiếp theo cũng mất 3 giây.

Tôi có thể làm gì để cải thiện hiệu suất của giao diện người dùng JQuery không?

Dưới đây là các tập tin HTML:

<html> 
    <head> 
    <link type="text/css" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.23/themes/smoothness/jquery-ui.css" rel="Stylesheet" /> 
    <script type="text/javascript" src="http://code.jquery.com/jquery-1.7.2.min.js"></script> 
    <script type="text/javascript" src="http://code.jquery.com/ui/1.8.23/jquery-ui.min.js"></script> 
    <script> 
     $(document).ready(function() { 
     $('#date').datepicker(); 
     }); 
    </script> 
    </head> 

    <body> 
    <input type="text" name="date" id="date"> 
    </body> 
</html> 

Và cuộc gọi từ GS:

function doGet() { 
    return HtmlService.createTemplateFromFile('test').evaluate(); 
} 

Giao diện điều khiển đăng nhập chương trình:

Node not editable; no action performed. es53-taming-frame.opt.js:419 
ode not editable; no action performed. es53-taming-frame.opt.js:419 
bad value `fixed` for CSS property position es53-taming-frame.opt.js:419 
https://ssl.gstatic.com/caja/4969/es53-taming-frame.opt.js?debug=1 

Trả lời

2

Đây là một vấn đề được biết đến và chúng tôi đang làm việc để tăng tốc nó.

Các vấn đề liên quan