【发布时间】:2012-11-05 14:32:17
【问题描述】:
我正在 jqm 中开发我的第一个应用程序。 我有一个独特的 index.php 包含很多这样的代码块
<div data-role="page" id="scheda7">
<div data-role="header" class="ui-bar-b">
<h1><?php $qry_nomeScheda7 = "select * from nomeScheda where id='7'"; $rs_nomeScheda7 = connetti($qry_nomeScheda7); $valore7 = mysql_fetch_array($rs_nomeScheda7); echo $valore7[nomeScheda];
?></h1>
</div>
<?php include 'scheda7.php'; ?>
<?php include 'footer.php'; ?>
</div>
我的应用程序的每一页都有一个。
对于每个页面,我都有一个单独的 schedaN.php,其中包含它自己的 html 和 javascript。现在发生在我身上的是一些页面加载正确,而其他页面仍然卡在加载中(旋转轮不停地转动)。未加载的页面不一样......也许我只是在索引中向上或向下移动一个页面,它开始工作或停止。 所以我在猜测:我注意到页面少于七个时似乎可以工作......您可以在应用程序中包含的数据角色页面的数量有一些限制??
【问题讨论】:
-
我怀疑您的问题还有其他问题,您是否遇到任何 JavaScript 错误?据我所知,您可以包含的 pages 数量没有限制。我在一个文档中肯定有超过 7 个页。
-
那会很高兴...真正的问题是没有触发错误...不在chrome控制台上,不在firebug上,不在dreamveaver上,男性我认为HTML也是正确的...
标签: jquery-mobile limit webpage