Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[issue] 本機直接讀取檔案錯誤資訊 #6

Closed
twbcs opened this issue Nov 3, 2015 · 3 comments
Closed

[issue] 本機直接讀取檔案錯誤資訊 #6

twbcs opened this issue Nov 3, 2015 · 3 comments

Comments

@twbcs
Copy link

twbcs commented Nov 3, 2015

OS: MAC OSX 10.11
Device: Desktop
Browser: Chrome 46.0.2490.80 (64-bit)
issue: 本機下直接開網頁 會在載入階段無窮迴圈...無法載入網頁
Failed to get text for stylesheet 37855.6: No style sheet with given id found
javascript console 的錯誤訊息 不停重複

Browser: Safari 9.0.1
issue: 本機下直接開網頁
kule.jquery-ui.min.css 會跳警告
-ms-filter: progid: DXImageTransform.Microsoft.Alpha(opacity=50);

以上錯誤 將檔案上傳伺服器後 讀取時都無錯誤產生

載入檔案為

<script type="text/javascript" src="js/kule.urbrowser.min.js"></script> <script type="text/javascript" src="js/jquery-1.11.1.min.js" charset="utf-8"></script>

另外 選單在縮小畫面後 選單點擊圖示無反應 文件那內容大抵上就是官網NAV內容(desktop,mobile 都是同狀況)

PS.版本應該是最新版 剛剛從官網下載的

@keicheng
Copy link
Collaborator

keicheng commented Nov 3, 2015

在本機的時候,網址是 file:/// 開頭嗎?
如果是的話,有兩個方法可以解決無窮迴圈載入的問題

  1. 使用 http://localhost 或是 http://127.0.0.1
  2. 請下載最新版本的 urBrowser 2.151103 (剛剛緊急修正)

你的第二個問題
在 safari 下對於 -ms-filter 會產生警告,-ms-是給IE使用,所以不會造成 safari 的錯誤

最後一個問題在 Facebook 上有跟大家報告,實際上 Kule Lazy 目前沒有提供任何 js 的部分,如果你需要 nav 的 toggle 效果,js如下:

$(document).ready(function() {
    $('.navbar-toggle').on('click', function() {
        var that = $(this);
        var wrap = that.parents('.navbar');
        var target = wrap.find('.navbar-content');

        that.toggleClass('active');
        target.toggleClass('open');
    });
});

@twbcs
Copy link
Author

twbcs commented Nov 3, 2015

謝謝!!

@keicheng keicheng closed this as completed Nov 3, 2015
@keicheng
Copy link
Collaborator

keicheng commented Nov 3, 2015

如有發現其他問題歡迎提問

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants