2014-11-04 54 views
0

當創建一個網站,我遇到了一個奇怪的錯誤,的Twitter時間線窗口小部件消失在媒體裝置(引導)

Twitter的時間軸Widget是自動消失時,該設備尺寸爲medium,我不知道是什麼觸發它。

從我所想,這個錯誤似乎是在AppStrap(https://wrapbootstrap.com/theme/appstrap-responsive-website-template-WB0C6D0H4)不在BootStrap本身,因爲我創建了一個jSFiddle來檢查它是否有相同的錯誤,它沒有任何。

我正在使用最新版本的AppStrap主題。

的問題的演示,可以發現:http://parasclasses.com

這是網站如何出現 Error!

當調整窗口,我看不出有任何錯誤日誌,是有關在​​Twitter的小工具,所以我可以找出問題的根源。

這裏是日誌:

GET http://parasclasses.com/ [HTTP/1.1 200 OK 1957ms] 
Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:3619 
Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:3621 
Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:3628 
Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:3683 
Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:3685 
Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:3692 
Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:3719 
Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:3724 
Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:3726 
Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:3747 
Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:3752 
Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:3754 
Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:3782 
Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:3784 
Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:3789 
Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:3810 
Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:3812 
Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:3817 
Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:3860 
Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:3865 
Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:3867 
Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:3872 
Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:3874 
Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:3879 
Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:3881 
Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:3916 
Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:3921 
Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:3923 
Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:3928 
Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:3930 
Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:3935 
Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:3937 
Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:3975 
Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:3977 
Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:3982 
Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:4003 
Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:4005 
Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:4010 
Unknown property '-moz-border-radius'. Declaration dropped. theme-style.css:4301 
Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:4335 
Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:4337 
Unknown property '-moz-border-radius'. Declaration dropped. theme-style.css:4424 
Unknown property '-moz-border-radius'. Declaration dropped. theme-style.css:4803 
Unknown property '-moz-border-radius'. Declaration dropped. theme-style.css:4987 
Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:4995 
Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:4997 
Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:5004 
Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:5006 
Unknown property '-moz-border-radius'. Declaration dropped. theme-style.css:5016 
Unknown property '-moz-border-radius'. Declaration dropped. theme-style.css:5032 
Unknown property '-moz-background-clip'. Declaration dropped. theme-style.css:5043 
Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:5107 
Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:5117 
Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:5119 
Unknown property '-moz-border-radius'. Declaration dropped. theme-style.css:5230 
Unknown property '-moz-border-radius'. Declaration dropped. theme-style.css:5303 
Unknown property '-moz-border-radius'. Declaration dropped. theme-style.css:5543 
Unknown property '-moz-border-radius'. Declaration dropped. theme-style.css:5596 
Unknown property '-moz-border-radius'. Declaration dropped. theme-style.css:5826 
Unknown property '-moz-border-radius'. Declaration dropped. theme-style.css:5862 
Error in parsing value for 'box-shadow'. Declaration dropped. theme-style.css:5865 
Error in parsing value for 'background-image'. Declaration dropped. theme-style.css:5866 
Expected 'none' or URL but found 'progid'. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:5869 
Error in parsing value for 'background-image'. Declaration dropped. theme-style.css:5907 
Expected 'none' or URL but found 'progid'. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:5910 
Error in parsing value for 'background-image'. Declaration dropped. theme-style.css:6006 
Expected 'none' or URL but found 'progid'. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:6009 
Error in parsing value for 'background-image'. Declaration dropped. theme-style.css:6015 
Expected 'none' or URL but found 'progid'. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:6018 
Error in parsing value for 'background-image'. Declaration dropped. theme-style.css:6027 
Expected 'none' or URL but found 'progid'. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:6030 
Expected media feature name but found '-webkit-min-device-pixel-ratio'. theme-style.css:6106 
Unknown property '-moz-border-radius'. Declaration dropped. theme-style.css:6138 
Unknown property '-moz-border-radius'. Declaration dropped. theme-style.css:6168 
Unknown property '-moz-border-radius'. Declaration dropped. theme-style.css:6245 
Unknown property 'speak'. Declaration dropped. theme-style.css:6279 
Unknown property 'speak'. Declaration dropped. theme-style.css:6287 
Unknown property '-moz-border-radius'. Declaration dropped. theme-style.css:6322 
Unknown property 'speak'. Declaration dropped. theme-style.css:6356 
Unknown property 'speak'. Declaration dropped. theme-style.css:6364 
Unknown property 'speak'. Declaration dropped. theme-style.css:6398 
Unknown property 'speak'. Declaration dropped. theme-style.css:6447 
Unknown property 'speak'. Declaration dropped. theme-style.css:6475 
Unknown property '-moz-border-radius'. Declaration dropped. theme-style.css:6511 
Unknown property 'speak'. Declaration dropped. theme-style.css:6576 
Unknown property 'speak'. Declaration dropped. theme-style.css:6589 
Unknown property 'speak'. Declaration dropped. theme-style.css:6658 
Unknown property 'speak'. Declaration dropped. theme-style.css:6752 
Unknown property 'speak'. Declaration dropped. theme-style.css:6845 
Unknown property '-moz-border-radius'. Declaration dropped. theme-style.css:6967 
Unknown property '-moz-border-radius'. Declaration dropped. theme-style.css:7031 
Unknown pseudo-class or pseudo-element '-ms-input-placeholder'. Ruleset ignored due to bad selector. theme-style.css:7042 
Unknown pseudo-class or pseudo-element '-webkit-input-placeholder'. Ruleset ignored due to bad selector. theme-style.css:7045 
Unknown property '-moz-border-radius'. Declaration dropped. theme-style.css:7105 
Expected 'none' or URL but found 'progid'. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:7111 
Unknown property '-moz-border-radius'. Declaration dropped. theme-style.css:7152 
Unknown property '-moz-border-radius'. Declaration dropped. theme-style.css:7295 
Unknown property '-moz-border-radius'. Declaration dropped. theme-style.css:7300 
Error in parsing value for 'background-image'. Declaration dropped. theme-style.css:7347 
Expected 'none' or URL but found 'progid'. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:7350 
Unknown property '-moz-border-radius'. Declaration dropped. theme-style.css:7429 
Unknown property '-moz-border-radius'. Declaration dropped. theme-style.css:7751 
Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:7760 
Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:7764 
Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:7766 
Unknown property '-moz-border-radius'. Declaration dropped. theme-style.css:7865 
Unknown property 'speak'. Declaration dropped. theme-style.css:8260 
Unknown property 'speak'. Declaration dropped. theme-style.css:8273 
Unknown property '-moz-border-radius'. Declaration dropped. theme-style.css:8297 
Error in parsing value for 'background-image'. Declaration dropped. theme-style.css:8330 
Error in parsing value for 'background-image'. Declaration dropped. theme-style.css:8337 
Error in parsing value for 'background-image'. Declaration dropped. theme-style.css:8344 
Error in parsing value for 'background-image'. Declaration dropped. theme-style.css:8351 
Unknown property '-moz-border-radius'. Declaration dropped. theme-style.css:8374 
Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:8387 
Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:8394 
Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:8396 
Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:8439 
Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:8441 
Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:8446 
Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:8448 
Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:8462 
Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:8464 
Unknown property '-moz-border-radius'. Declaration dropped. theme-style.css:8483 
Unknown property '-moz-border-radius-bottomright'. Declaration dropped. theme-style.css:8546 
Unknown property '-moz-border-radius-bottomleft'. Declaration dropped. theme-style.css:8547 
Unknown property '-moz-border-radius'. Declaration dropped. theme-style.css:8555 
Unknown property '-moz-border-radius'. Declaration dropped. theme-style.css:8594 
Unknown property '-moz-border-radius'. Declaration dropped. theme-style.css:8624 
Error in parsing value for 'min-width'. Declaration dropped. theme-style.css:8706 
Error in parsing value for 'overflow-x'. Declaration dropped. theme-style.css:8735 
Unknown property 'zoom'. Declaration dropped. theme-style.css:8756 
Expected declaration but found '*'. Skipped to next declaration. theme-style.css:8757 
Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:8766 
Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:8768 
Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:8795 
Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:8797 
Unknown property 'zoom'. Declaration dropped. theme-style.css:8804 
Expected declaration but found '*'. Skipped to next declaration. theme-style.css:8805 
Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:8814 
Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:8816 
Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:8822 
Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:8824 
Error in parsing value for 'background-image'. Declaration dropped. theme-style.css:8869 
Expected 'none' or URL but found 'progid'. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:8872 
Unknown property '-moz-border-radius'. Declaration dropped. theme-style.css:8875 
Error in parsing value for 'background-image'. Declaration dropped. theme-style.css:8879 
Expected 'none' or URL but found 'progid'. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:8882 
Unknown property '-moz-border-radius'. Declaration dropped. theme-style.css:8898 
Error in parsing value for 'background-image'. Declaration dropped. theme-style.css:8959 
Expected 'none' or URL but found 'progid'. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:8962 
Unknown property '-moz-border-radius'. Declaration dropped. theme-style.css:9133 
Error in parsing value for 'background-image'. Declaration dropped. theme-style.css:9137 
Expected 'none' or URL but found 'progid'. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:9140 
Error in parsing value for 'background-image'. Declaration dropped. theme-style.css:9206 
Unknown property '-moz-border-radius'. Declaration dropped. theme-style.css:9211 
Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:9282 
Expected 'none' or URL but found 'alpha('. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:9284 
Unknown property '-moz-border-radius'. Declaration dropped. theme-style.css:9319 
Unknown property '-moz-border-radius'. Declaration dropped. theme-style.css:9334 
Unknown property '-moz-border-radius'. Declaration dropped. theme-style.css:9348 
Unknown property '-moz-border-radius'. Declaration dropped. theme-style.css:9367 
Unknown property '-moz-border-radius'. Declaration dropped. theme-style.css:9402 
Unknown property '-moz-border-radius'. Declaration dropped. theme-style.css:9620 
Unknown property '-moz-border-radius'. Declaration dropped. theme-style.css:9698 
Unknown property '-moz-border-radius'. Declaration dropped. theme-style.css:9734 
Error in parsing value for 'background-image'. Declaration dropped. theme-style.css:9738 
Expected 'none' or URL but found 'progid'. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:9741 
Unknown property '-moz-border-radius'. Declaration dropped. theme-style.css:9754 
Unknown property '-moz-border-radius'. Declaration dropped. theme-style.css:9859 
Error in parsing value for 'background-image'. Declaration dropped. theme-style.css:9863 
Expected 'none' or URL but found 'progid'. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:9866 
Unknown property '-moz-border-radius'. Declaration dropped. theme-style.css:9879 
Expected 'none' or URL but found 'progid'. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:9885 
Unknown property '-moz-border-radius'. Declaration dropped. theme-style.css:9900 
Unknown property '-moz-border-radius'. Declaration dropped. theme-style.css:9958 
Unknown property '-moz-border-radius'. Declaration dropped. theme-style.css:9963 
Unknown property '-moz-border-radius'. Declaration dropped. theme-style.css:9988 
Unknown property '-moz-border-radius'. Declaration dropped. theme-style.css:10280 
Unknown property '-moz-border-radius'. Declaration dropped. theme-style.css:10539 
Unknown property '-moz-border-radius'. Declaration dropped. theme-style.css:10574 
Error in parsing value for 'box-shadow'. Declaration dropped. theme-style.css:10577 
Error in parsing value for 'background-image'. Declaration dropped. theme-style.css:10578 
Expected 'none' or URL but found 'progid'. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:10581 
Error in parsing value for 'background-image'. Declaration dropped. theme-style.css:10619 
Expected 'none' or URL but found 'progid'. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:10622 
Error in parsing value for 'background-image'. Declaration dropped. theme-style.css:10716 
Expected 'none' or URL but found 'progid'. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:10719 
Error in parsing value for 'background-image'. Declaration dropped. theme-style.css:10725 
Expected 'none' or URL but found 'progid'. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:10728 
Error in parsing value for 'background-image'. Declaration dropped. theme-style.css:10737 
Expected 'none' or URL but found 'progid'. Error in parsing value for 'filter'. Declaration dropped. theme-style.css:10740 
Unknown property '-moz-border-radius'. Declaration dropped. colour-blue.css:79 
Unknown property '-moz-border-radius'. Declaration dropped. colour-blue.css:386 
Error in parsing value for 'background-image'. Declaration dropped. colour-blue.css:918 
GET http://platform.twitter.com/widgets.js [HTTP/1.1 304 Not Modified 656ms] 
Using //@ to indicate sourceMappingURL pragmas is deprecated. Use //# instead jquery.min.js:1 
GET http://parasclasses.com/plugins/bootstrap-hover-dropdown/bootstrap-hover-dropdown.min.js [HTTP/1.1 200 OK 1603ms] 
GET http://parasclasses.com/plugins/jPanelMenu/jquery.jpanelmenu.min.js [HTTP/1.1 200 OK 705ms] 
GET http://parasclasses.com/plugins/jRespond/js/jRespond.js [HTTP/1.1 200 OK 3097ms] 
GET http://parasclasses.com/plugins/clingify/jquery.clingify.min.js [HTTP/1.1 200 OK 3827ms] 
Use of getPreventDefault() is deprecated. Use defaultPrevented instead. jquery.min.js:5 
Unknown property '-moz-outline'. Declaration dropped. timeline.3fb0c4c981cd3f8f8dfb6b0ab93d6a9e.default.css:1 
Unknown property 'zoom'. Declaration dropped. timeline.3fb0c4c981cd3f8f8dfb6b0ab93d6a9e.default.css:1 
Expected declaration but found '*'. Skipped to next declaration. timeline.3fb0c4c981cd3f8f8dfb6b0ab93d6a9e.default.css:1 
Error in parsing value for 'background-image'. Declaration dropped. timeline.3fb0c4c981cd3f8f8dfb6b0ab93d6a9e.default.css:1 
Expected color but found 'top'. Error in parsing value for 'background-image'. Declaration dropped. timeline.3fb0c4c981cd3f8f8dfb6b0ab93d6a9e.default.css:1 
window.controllers is deprecated. Do not use it for UA detection. nsHeaderInfo.js:412 
GET https://syndication.twitter.com/widgets/timelines/paged/529143195632795648 [HTTP/1.1 200 OK 381ms] 

代碼:

<div class="row"> 
    <div class="col-md-4 col-md-push-8"> 
     <div class="inner"> 
      <a class="twitter-timeline" href="https://twitter.com/parasclasses" data-widget-id="529143195632795648">Tweets by @Html.Raw("@parasclasses")</a> 
      <script> 
       !function(d, s, id) { 
        var js, fjs = d.getElementsByTagName(s)[0], p = /^http:/.test(d.location) ? 'http' : 'https'; 
        if (!d.getElementById(id)) { 
         js = d.createElement(s); 
         js.id = id; 
         js.src = p + "://platform.twitter.com/widgets.js"; 
         fjs.parentNode.insertBefore(js, fjs); 
        } 
       }(document, "script", "twitter-wjs"); 
      </script> 

     </div> 
    </div> 
    <div class="col-md-8 col-md-pull-4"> 
     <p>Website under construction will be updated soon!</p> 
    </div> 
</div> 

回答

1

的問題是由於jRespond.js您正在使用。這是刪除你的Twitter時間表窗口調整大小的罪魁禍首,這是我想的某種衝突。最簡單的選擇是不使用該插件。無論如何它沒有加載似乎並不重要。打開U pthe script.js文件,跳轉到行225和編輯此:

jQuery().themeLoadPlugin(["jPanelMenu/jquery.jpanelmenu.min.js", "jRespond/js/jRespond.js"], [], initjPMenu); 

刪除提及jRespons.js

jQuery().themeLoadPlugin(["jPanelMenu/jquery.jpanelmenu.min.js"], [], initjPMenu); 
+0

以下烏爾解決方案解決了該問題,但現在菜單不會擴大在小型設備上,對於任何建議? – 2014-11-18 03:57:15

1

JPanel的菜單插件是搞亂的東西了。它檢查瀏覽器的寬度和復位經由

//jquery.jpanelmenu.min.js 

setupMarkup: function() { 
      e("html").addClass("jPanelMenu"); 
      e("body > *").not(n.menu + ", " + n.options.excludedPanelContent).wrapAll('<div class="' + n.panel.replace(".", "") + '"/>'); 
      e(n.options.menu).clone().attr("id", n.menu.replace("#", "")).insertAfter("body > " + n.panel) 
     }, 
resetMarkup: function() { 
      e("html").removeClass("jPanelMenu"); 
      e("body > " + n.panel + " > *").unwrap(); 
      e(n.menu).remove() 

標記如果觀察到在調整大小時,對於較小的設備上的內容被包裝在一個元件與jPanelMenu-panel類的元素。

for larger width

for smaller width

我試過的jsfiddle來進行測試。我點擊一個按鈕,用一個div來包裝整個內容。 Twitter小部件消失。

Demo