如果一个站点处于良好的状态,那意味着它的状态属性为OK,那么我们将不会显示摘要字段,并且将以黑色文本显示。
If a site is in good condition, meaning its status property is equal to OK, we do not display the summary field, and it is displayed in black text.
首先,所有字段都使用占位符属性,这是一个HTML5特性,因此会一直显示占位符文本,直至该字段获得焦点。
First, all of the fields use the placeholder attribute. This is an HTML5 feature that causes the placeholder text to be shown until that field gains focus.
在显示框中的显示顺序就是每个富文本正文字段回复连接到新电子邮件中的顺序。
The order shown in the display box is the order each rich text body field response is concatenated in the new email.
为了编辑个人的详细信息,我们使用文本字段来向用户显示个人详细信息,允许用户编辑这些详细信息并将更改传递回流程。
To edit a person's details, we use a text field to display a person's details to the user, allow the user to edit these details and pass the changes back to the process.
必须首先为表单数据库创建包含富文本字段的表单来显示图像。
You must first create a form with a rich text field to the forms database to display the image.
我们需要一个按钮来添加要转换的源文件,以及一个用于显示此文件位置的文本字段。
We'll need a button for adding the source file to be converted, along with a field to show the location of this file.
WebCal 正好在登录、注册和显示/编辑活动表单上使用文本输入字段。
WebCal just uses text input fields on the login, registration, and show/edit event forms.
用户在CityName字段中键入文本时,将动态显示建议,类似于Google的自动建议功能。
As the user types text in the City Name field, Suggestions are dynamically displayed, similar to Google's auto-suggest.
MyTwitterWeb客户端页面的屏幕截图,显示了用户的上一次更新、添加新更新的文本字段,以及好友状态列表。
Screen shot of the My Twitter Web client page, showing the user's last update, a text field for adding a new update, and a list of friends' statuses.
<xf:input>(HTML type="text">)显示一个标准的文本输入字段,我们已经多次用到了它。
<xf:input> (HTML type="text">) displays a standard text input field; you've already seen this one in action several times.
在清单2 的 index.zul文件中,定义一个简单的窗口组件,并用 ${helloWorld.text} EL 表达式显示一个 HelloWorld类的文本字段。
In the index.zul file in Listing 2, you define a simple window component and display a text field of the HelloWorld class using the ${helloWorld.text}
错误消息位置用于显示针对文本字段的验证或数据转换错误消息。
The error message locations are to display validation or data-conversion error messages for the text fields. There are three JSP pages: index.jsp.
它的gridx和gridy值都是0,表明文本字段显示区最左边的角应该从网格的第一行、第一列开始。
Its gridx and gridy values are both 0, which indicate that the leftmost corner of the text field's display area should begin in the first row and first column of the grid area.
同时也假定该数据表的标识为table1,显示价格(LISTPRICE)的文本字段的标识为text2。
It also assumes that the id of the data table is table1, and that the id of the text field that will display the price (LISTPRICE) is text2.
请注意,没有实现的ITableItemLabelProvider元素将在所有的字段中显示相同的文本。
Notice that the elements that don't implement ITableItemLabelProvider will display the same text in all columns.
value属性定义文本字段中显示的默认值。
The value attribute defines the default value that should appear in the text field.
这个字段能够包含高达32k字节的文本,利用这些字段来显示多行文本字段,比如StatusUpdate或者Description。
These fields can contain up to 32k bytes of text; use these fields to display the multi-line text fields such as Status Update or Description.
清单3显示了如何使用允许使用的有限数量的特性来创建一个简单的文本字段。
Listing 3 shows how to create a simple text field with a limit on the number of characters allowed.
这些自定义字段就是短文本字段,并且最大只能显示400个字节的文本。
The custom fields are short text fields that can only display a maximum of 400 bytes of text.
同时显示所有输入字段和相关文本提示的一种替代方案就是单独显示文本提示。
An alternative to displaying all input fields and associated textual prompts at the same time is to display the textual prompts alone.
完全排除了键入和其他的用户输入错误,在显示格式化的数字文本和从同一个字段中接受数字文本输入之间的关系还是不太好处理。
Completely aside from typos and other user-input errors, there's always been an uneasy relationship between displaying formatted numeric text and receiving numeric text input from the same field.
如下代码通过CSS和 HTC文件将突出显示行为添加到一个文本字段。
The following listings add a highlighting behavior to a text field through CSS and an HTC file.
下面的图显示了在单击Add按钮并填写好文本字段以添加一个新联系人之后,该页面显示的内容。
The image below shows what the page looks like after the Add button is clicked and the text fields are filled out to add a new contact.
图19展示了代理设置面板中的相同区段,该字段显示的文本为flyoverhelp。
Figure 19 shows the same section of the proxy Settings panel, with the fly over help text for this field.
清单1显示了一个名为_ form . rhtml的输入表单以及输入文本字段。
Listing 1 shows the input form named _form.rhtml and the input text fields.
无论使用什么技术,只要Firefox具有专门为此种类型设计的控件,则显示这种控件,否则将使用通用的文本字段。
Whichever technique you use, Firefox displays a control designed specifically for that type if it has one. If it doesn't, then it USES a generic text field.
错误消息位置用于显示针对文本字段的验证或数据转换错误消息。
The error message locations are to display validation or data-conversion error messages for the text fields.
清单1显示了如何编码实现高级动作:在firstName文本字段中输入“luke”文本然后单击“ok”按钮。
Listing 1 shows how to code the high-level actions enter the text "Luke" in the firstName text field and click the "ok" button.
在该字段中,用户不仅可以输入文本,而且还可以使文本显示为粗体、斜体或为文本加上下划线,并使用不同的颜色和字体,等等。
In this field, the user could not only type in text, but he or she could make the text appear bold, italic, or underlined and use different colors and fonts and so on. The control looks like this.
文本字段 “Click toenter notes”显示默认文本,以提醒用户输入注释,如图9 所示。
The text field "<Click to enter notes>" shows default text as a reminder to the user as shown in figure 9.
应用推荐