android – JQuery Mobile Windows phone 8固定页脚

android – JQuery Mobile Windows phone 8固定页脚,第1张

概述我有一个带有 jquery手机的phonegap windows phone 8 app用于造型.我正在使用固定页脚进行导航.然而,页脚从手机底部漂浮几个像素. 我已经完成了应用程序的android / Ios版本.我正在使用Adobe Phonegap构建来构建我的应用程序. Android / IOS版本运行正常.但现在我试图测试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" >            <img src="Content/mobile/themes/default/images/logo.png" />        </div>        <div data-role="content" data-theme="a" ID="loginpage" >            <div >                Login            <div data-role="fIEldcontain" >                <label for="txtLogin">Username</label>                <input type="email" name="txtLogin" ID="txtLogin" data-bind="value: Username" placeholder="Username" />            </div>                <div data-role="fIEldcontain" >                    <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 >2000</span>  <span ></span></h4>        </div>   </div>    </div>
解决方法 像这样更改页脚div:

<div data-role="footer" data-position="fixed" >

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

总结

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

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

欢迎分享,转载请注明来源:内存溢出

原文地址:https://www.54852.com/web/1125006.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-05-30
下一篇2022-05-30

发表评论

登录后才能评论

评论列表(0条)

    保存