为了提供银行出纳员用户界面,我们要开发一个单页面浏览器应用程序。
For the bank teller user interface, you will develop a single-page browser application.
这些考虑因素超出了本文的范围,本文只希望实现一个简单的单页面浏览器应用程序。
Such concerns are out of scope for this bank scenario article, which focuses only on implementing a single-page browser application with simple characteristics.
在单页面浏览器应用程序中,另一种用来隐藏和显示不同部分的技术是使用 HTML标记 、 和 。
One of the techniques used to hide and show different parts of a single-page browser application involves the use of , , and HTML tags.
在呈现页面之后,浏览器从服务提供者商处检索那些内容项。
After rendering the page, the browser retrieves those content items from the service provider.
这些应用程序将通过打开HTML页面在浏览器内运行。
These applications will run within a browser by opening the HTML page.
如果没有遇到错误,接下来的页面将自动加载在浏览器中。
If no errors are encountered, the next page will automatically load in your browser.
正是这个属性告知浏览器这个页面可以离线工作。
This what tells the browser that this Web page can function offline.
当用户访问这个页面时,浏览器首先检查本地缓存,以确定本地文件是否已经失效。
When a user accesses this page, the browser first checks the local cache to determine if the local files have expired.
服务器通过JSP页面读取(数据)并生成一张用户在浏览器中见到的html页面。
The server reads through the JSP pages and produces an HTML page that the user sees in the browser.
您刚才创建的空页面将显示在浏览器窗口中(图15)。
The blank page you just created will be displayed in the browser window (Figure 15).
当请求一个SSL 保护的页面时,浏览器认为服务器是一个可信任的实体,并且启用一个连接来回传递加密的信息。
When an SSL-protected page is requested, the browser identifies the server as a trusted entity and initiates a handshake to pass encryption key information back and forth.
服务器向每个内容源发出请求,解析收到的信息,并将结果综合到一个页面中发给浏览器,如图1 所示。
The server makes requests to each content source, parses the information it receives, and combines the results into a page to send to the browser, as Figure 1 shows.
一旦登录页面被浏览器呈现出来,输入有效的用户ID和密码。
Once the login page has been rendered by your browser, enter a valid user id and password.
含有恶意代码或问题代码的广告会阻塞网络、降低性能、锁死整个页面甚至让浏览器崩溃。
An AD containing malicious or poorly written code could hog the network connection, degrade performance, freeze the entire page, or crash the browser.
图1显示了返回的页面,它已装载到浏览器中。
希望队员们将这个页面设为浏览器的主页是不现实的。
It would not be unreasonable to expect team members to have this page as their browser home page.
不过我们注意到,在载入大而复杂网站页面的时候浏览器不在会有很长一段时间处于假死状态。
We did notice, though, that the browser did not freeze up for extensive periods while loading large and complicated sites anymore.
接下来开始用CSS重新构建页面,清除浏览器的默认设置。
The CSS for the layout of the page is then written, starting with a reset to remove any browser defaults.
首先,我们将完全修改主页HTML,保持总体外观不变,但使该页面与浏览器更兼容。
First, we'll totally rework the main page HTML, keeping the same overall look, but making the page more browser-compatible.
此页面被返回给浏览器,PA查看差事列表。
The page is returned to the browser, and the pa sees the list of errands.
通过自己实现innertext属性,可以让这些页面支持更多的浏览器。
By implementing the innerText attribute yourself, you allow these pages to support more browsers.
Ajax通过在服务器中检索部分页面和刷新浏览器以实现高交互性。
Ajax achieves high interactivity through only partial page retrieval from a server and refresh in a browser.
服务器处理事件代码并将修订的页面发送回浏览器(或LotusNotes客户端)。
The server processes the event code and sends a revised page back to the browser (or the Lotus Notes client).
前端web页面使用webkit浏览器支持的定位服务来获取用户的GPS坐标。
The front-end web page USES the location services supported by webkit browsers to get the GPS coordinates of the user.
按照以下步骤创建单页面ajax浏览器应用程序。
Follow these steps to create a single-page Ajax browser application.
样例页面展示了浏览器如何呈现具有title属性的HTML元素。
The examples page shows how your browser renders HTML elements with the title attribute.
显而易见,"src"属性指定当在页面被浏览器加载显示时,被执行的SWF文件名。
The "src" attribute describes, not surprisingly, the name of the SWF file to be executed when this page is loaded and displayed inside of the browser.
Storefront页面:呈现基于浏览器的HTTP前端,用户可以用它来下订单。
Storefront page: Presents a browser-based HTTP front end that customers can use to place orders.
Preview-Web附签显示了页面在浏览器中的外观图片。
The Preview - Web tab displays a picture of a page as it appears from a browser.
Preview-Web附签显示了页面在浏览器中的外观图片。
The Preview - Web tab displays a picture of a page as it appears from a browser.
应用推荐