Why have added a bottom jquery mobile Loading words on the page? 【solved】

This is a strange question, with jquery mobile js library, the bottom of the page will appear Loading words,

the solution is as follows:

1, the normal css styles plus

2, must be in before jquery mobile js library is loaded, set mobile.loadingMessage = false; follows:


    <head>
        <title> JQM Complex Demo </ title>
        <Meta name = "the viewport" Content = "width = Device-width, height = Device-height, Initial-Scale = 1.0" />
        <Link = the rel "this stylesheet" the 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 to false;
            })
        </ Script>    
        <Script the src = "HTTP: // code.    jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.js"></script>    
    </ head>


Reference pages:

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

Guess you like

Origin www.cnblogs.com/Free-Thinker/p/10955906.html
Recommended