gpt4 book ai didi

jquery-mobile - 如何使用 jquerymobile 在 Web 应用程序上添加全屏欢迎图像

转载 作者:行者123 更新时间:2023-12-04 00:45:17 25 4
gpt4 key购买 nike

我认为它在 jQTouch 中,但如何为使用 jQueryMobile 开发的 iPhone Web 应用程序添加全屏欢迎图像?

该应用程序是一个全屏网络应用程序,它已添加到 iPhone 主屏幕中。

最佳答案

这只是一个概念,但你可以尝试这样的事情:

实时示例:http://jsfiddle.net/yzvWy/14/

JS

$(function() {
setTimeout(hideSplash, 2000);
});

function hideSplash() {
$.mobile.changePage("#home", "fade");
}

HTML
<div data-role="page" data-theme="b" id="splash" style="background-color: #fff;"> 
<div class="splash">
<img src="http://jquerymobile.com/demos/1.0a4.1/docs/_assets/images/jquery-logo.png" alt="splash" />
</div>
</div>
<div data-role="page" data-theme="b" id="home">
<div data-role="content">
<div data-role="content">
<ul data-role="listview" data-inset="true" data-theme="c" data-dividertheme="b">
<li data-role="list-divider">Overview</li>
<li><a href="docs/about/intro.html">Intro to jQuery Mobile</a></li>
<li><a href="docs/about/features.html">Features</a></li>
<li><a href="docs/about/accessibility.html">Accessibility</a></li>
<li><a href="docs/about/platforms.html">Supported platforms</a></li>
</ul>
</div>
</div>
</div>

关于jquery-mobile - 如何使用 jquerymobile 在 Web 应用程序上添加全屏欢迎图像,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6332989/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com