Android   发布时间:2022-04-28  发布网站:大佬教程  code.js-code.com
大佬教程收集整理的这篇文章主要介绍了android – JQuery Mobile Windows phone 8固定页脚大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
我有一个带有 jquery手机的phonegap windows phone 8 app用于造型.我正在使用固定页脚进行导航.然而,页脚从手机底部漂浮几个像素.

我已经完成了应用程序的android / Ios版本.我正在使用Adobe Phonegap构建来构建我的应用程序. Android / IOS版本运行正常.但现在我试图测试Windows Phone 8版本的应用程序,我也测试了手机浏览器以及它在Windows 8手机,ios和Android中的完美工作.但我建立Windows手机应用程序(app.xap)并安装在Windows手机和页脚没有按预期定位,从底部有上面的间隙.

请帮帮我.任何有用的帮助将深表感谢.谢谢=)

>

<div data-role="page" data-theme="a" id="page_Login">
        <div data-role="header" data-theme="a" class="okn_applicationtitlelogo">

            <img src="Content/mobile/themes/default/images/logo.png" />
        </div>

        <div data-role="content" data-theme="a" id="loginpage" >
            <div class="okn_contentContainer">
                Login
            <div data-role="fieldcontain" class="ui-hide-label">
                <label for="txtLogin">Username</label>
                <input type="email" name="txtLogin" id="txtLogin" data-bind="value: Username" placeholder="Username" />
            </div>
                <div data-role="fieldcontain" class="ui-hide-label">
                    <label for="txtpassword">password</label>
                    <input type="password" name="txtpassword" id="txtpassword" data-bind="value: password" placeholder="password" />
                </div>
                <div data-role="fieldcontain">
                    <label>
                        <input type="checkBox" name="chkRememberLogin" data-bind="checked: RememberMe " />
                        Remember me</label>
                </div>



        </div>
        <div data-role="footer" data-id="footer_Main" id="firstFooter"    data-theme="a"  >
            <h4>&copy; <span class="footer_copyrightYear">2000</span>  <span class="footer_version"></span></h4>
        </div>

   </div>
    </div>

解决方法

像这样更改页脚div:

<div data-role="footer" data-position="fixed" style="position: absolute">

或者,如果您愿意,可以直接在jquery移动CSS中添加绝对位置.

大佬总结

以上是大佬教程为你收集整理的android – JQuery Mobile Windows phone 8固定页脚全部内容,希望文章能够帮你解决android – JQuery Mobile Windows phone 8固定页脚所遇到的程序开发问题。

如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。