2012-07-05 136 views
2

網站在2010年最初創建時顯示標籤。不再顯示。我已經嘗試了幾個修正,但它仍然沒有加載樣式。JQuery標籤停止工作

http://www.rlulaw.com/members.php

+5

如果你打開瀏覽器控制檯,你會看到6個錯誤,說403 HTTP錯誤。您從http://jqueryui.com/網站加載所有腳本。嘗試下載它們,並放置在您的服務器端 – antyrat 2012-07-05 16:27:22

回答

1

看起來像一個權限錯誤,這裏是從Chrome中的JS控制檯轉儲:

GET http://jqueryui.com/ui/jquery.ui.core.js 403 (Forbidden) members.php:14 
GET http://jqueryui.com/ui/jquery.ui.widget.js 403 (Forbidden) members.php:14 
GET http://jqueryui.com/jquery-1.7.2.js 403 (Forbidden) members.php:14 
GET http://jqueryui.com/themes/base/jquery.ui.tabs.css 403 (Forbidden) members.php:11 
GET http://jqueryui.com/ui/jquery.ui.tabs.js 403 (Forbidden) members.php:14 
Uncaught ReferenceError: $ is not defined members.php:19 
1

使用谷歌代碼鏈接腳本...使用這些:

<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> 
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/jquery-ui.min.js"></script>