保存和加载页面,它应该如图2所示。
加快Firefox加载页面的速度。
加载页面后,应该看如图1所示的警告。
After loading the page, you should see the alert shown in Figure 1.
后续请求将加载页面的不同部分进行显示。
Further requests then load different fragments of the page for display.
比如,第一次加载页面时,按钮都是灰色的。
For example, when the page first loads, they are both grayed out.
换句话说,浏览器不仅要加载页面还得处理数据。
In other words, browsers now have to process data as well as load pages.
Ajax还会减轻服务器加载页面的沉重负载。
They also relieve the server from the heavy load of mundane page fetches.
您可以通过缩短加载页面的时间来改善他们的体验。
You can improve their experience by decreasing the time required for pages to load.
Firefox在加载页面时显示一个旋转的圈圈。
Firefox shows a spinning loading wheel during page loading time.
将上述代码添加到这20个图像标记并重新加载页面。
在浏览器中加载页面时,我看到了如图6所示的结果。
When I load the page in my browser, I see the result shown in Figure 6.
结果是,您可以完全改变提交和加载页面和信息的方式。
The result is a complete change in the way you can submit and load pages and information.
这将提供一种无需重新加载页面的流畅用户体验。
This will provide a seamless user experience that doesn't require a page reload.
再次进行编辑,做出调整或修补,然后为文件重新加载页面。
I edit again to make any tweaks or fixes, and reload the page for that file.
在Firefox中加载页面后,可以看到图1所示的结果。
When I load the page in Firefox, I see the result shown in Figure 1.
为什么我可以以编程方式访问只有第一次加载页面?
Why I can programmatically access only the first loaded page?
当浏览器通过该URL集合加载页面时,便会执行这些脚本。
These scripts execute when the browser loads a page from the URL set.
最后,您了解到如何修改页面元素的CSS,而不需重新加载页面。
Finally, you looked at how to modify the CSS of a page element without having to reload the page.
我甚至重新加载页面的时间来确保它仍然显示相同的信息。
I even reloaded the page several time to make sure but it still show the same message.
要解决这些问题,需要另外一种不同的方法加载页面及其上的组件。
To get round many of these problems requires a different approach to the way pages and the components on those pages were loaded.
将Firefox窗口变为可查看,并在不同的标签中创建和加载页面。
Make the Firefox window viewable, and create and load pages in different tabs.
如果检索失败,则将一个错误消息显示给用户,用户可通过重新加载页面来再次尝试。
If the retrieval was unsuccessful, an error message is displayed to the user who can try again by reloading the page.
使用Ajax时,等待Web服务门户呈现下一部分内容的时候不需要重新加载页面。
With Ajax, you can avoid page reloads while waiting for the next piece of content to be presented in the Web services portal.
因此需要添加load_current函数以扩展应用程序,加载页面时会调用该函数。
We will extend the application by creating a load_current function that will be called when the page is loaded.
在这个事件中,ASP.NET运行时确定是否能够从缓存中加载页面,而不是从头开始生成。
In this event, ASP.NET runtime determines if the page can be served from the cache rather than loading the patch from scratch.
当XML数据结构发生变化时,可视化表示将被重新计算并作出相应变化而无需重新加载页面。
When the XML data structure is changed, the visual presentation is re-calculated and changes without having to reload the page.
第二,一些通常会造成页面刷新的操作,如上传一个文件,都得到了处理,从而不再需要加载页面。
The second lesson is that operations that normally cause page refreshes, such as uploading a file, are handled so that no page load is required.
最后,我将讨论如何在无需重新加载页面或调整外部样式表的情况下修改页面元素的CSS属性。
The final section will discuss how to modify the CSS characteristics of the page elements, without reloading the page or adjusting an external stylesheet.
例如,当您使用Ajax在未重新加载页面的情况下将额外的消息加载到页面时,可能会显示这些行。
For example, those rows might appear when you have an additional message that gets loaded into the page using Ajax without a page reload.
例如,当您使用Ajax在未重新加载页面的情况下将额外的消息加载到页面时,可能会显示这些行。
For example, those rows might appear when you have an additional message that gets loaded into the page using Ajax without a page reload.
应用推荐