繁体   English   中英

Twitter时间轴小部件在中等设备上消失了(引导程序)

[英]Twitter timeline widget disappearing on medium devices (Bootstrap)

创建网站时,我遇到了一个奇怪的错误,

Twitter的时间轴Widget是自动消失,当器件尺寸是medium ,我不知道是什么触发它。

从我看来,此错误似乎在AppStrap( https://wrapbootstrap.com/theme/appstrap-sensitive-website-template-WB0C6D0H4 )中,而不是在BootStrap本身中,因为我创建了一个jSFiddle来检查它是否有同样的错误,有点没有。

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

问题的演示可以在以下位置找到: http : //parasclasses.com

网站就是这样显示的 错误!

调整窗口大小时,在Mozilla Inspector中看不到与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>

问题是由于您使用的是jRespond.js 那是在窗口大小调整时删除您的Twitter时间轴的罪魁祸首,我认为这是某种冲突。 最简单的选择是不使用该插件。 无论如何,它似乎都没有加载。 打开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);

Jpanel Menu插件搞砸了。 它检查浏览器的宽度并通过以下方式重置标记

//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类的元素中。

大宽度

较小的宽度

我试图在jsfiddle中进行测试。 单击按钮,我用div包装了全部内容。 Twitter小部件消失。

演示版

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM