0

在这里,我正在使用 Jquery Tab 从 href 加载 Visualforce 页面。现在,当我单击该选项卡页面时,加载良好,但所有链接都禁用了几秒钟。完全加载页面需要一些时间。我在这里提供我的代码。所以请建议我如何快速加载该页面???还有一件事我想问的是我想加载图像仍然页面正在加载,当整个页面加载时,加载图像后应该禁用。

<div class="demo">
 <div id="tabs">
    <ul>
      <li><a href="/apex/page1?id=001A000000iTVx9">Account</a></li>
      <li><a href="/apex/page2?id=001A000000iTVx9">Transaction</a></li>
      <li><a href="/apex/page3?id=001A000000iTVx9" >Dispute</a></li>
      <li><a href="/apex/page4?id=001A000000iTVx9" >Notes</a></li>
    </ul>
  </div>
</div>
4

1 回答 1

0

You could try adding cache="true" in the <apex:page> tags, but if I recall correctly this is true by default. The thing is for each page there's a lot of extra javascript files to load etc., and I suspect those get pulled down each time by the plugin you're using.

If you put standard pages into tabs are they any faster? If not, I'd say there's not much you can do, if so, then maybe it's something specific to your pages.

于 2012-06-11T23:45:36.003 回答