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

  • 相关阅读:
    Python格式化输出
    Python的变量和注释
    python解包
    顺序存储结构和链式存储结构优缺点
    CPU相关概念
    转载:关于STM32硬件I2C读写EEPROM代码实现原理的理解与总结
    ADC
    I2C协议学习笔记
    飞思卡尔K60时钟分析
    NXP_RTCESL库
  • 原文地址:https://www.cnblogs.com/Free-Thinker/p/10955906.html
Copyright © 2011-2022 走看看