zoukankan      html  css  js  c++  java
  • 为什么加了jquery mobile 会有 Loading 字样在页面底部?【已解决】

    这是一个奇怪的问题,用了jquery mobile js库,页面底部就会出现Loading字样,

    解决办法如下:

    1,正常加上css样式

    2,一定要在jquery mobile js库加载之前,设置 mobile.loadingMessage = false;具体如下:


        <head>
            <title>jQM Complex Demo</title>
            <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0"/>
            <link rel="stylesheet" href="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.css" />
            <script type="text/javascript">
                $(document).bind('mobileinit',function(){
                    $.mobile.loadingMessage = false;
                })
            </script>    
            <script src="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.js"></script>    
        </head>


    参考网页:

    http://stackoverflow.com/questions/14802547/loading-massage-generated-at-the-bottom-of-the-page-in-jqm

  • 相关阅读:
    iOS 多线程/GCD
    iOS推送通知的实现步骤
    Swift中文教程-学习
    设计模式——观察者模式
    SSM学习
    Servlet 学习
    java基础
    DOM中节点
    会议管理系统设计
    springboot与thymeleaf 整合
  • 原文地址:https://www.cnblogs.com/Free-Thinker/p/10955906.html
Copyright © 2011-2022 走看看