输入油料在媒体上的代码框,并点击验证按钮。
Enter POL in the media code box and click the Verify button.
如果您愿意,您也可以(在代码里)使用对话框将进度栏覆盖掉。
If you wish, you can also have (within the code) dialog boxes that will overlay the progress bar.
默认的代码是要显示一个消息框。
现在已经有了广告框的DHTML代码,接下来让我们看看如何在php中实现它(参见清单2)。
Now that you have the AD box code in DHTML, you can see how to implement it in PHP (see Listing 2).
您可以使用输入函数在PHP代码中轻松地创建输入框。
The input function will allow you to create input boxes easily in your PHP code.
该应用程序的GUI向用户显示了一个用于输入ZIP代码的输入框,还显示了一个使用摄氏温度还是华氏温度来表示温度的选项。
The application's GUI presents the user with an input box for entering a ZIP code and a choice of Celsius or Fahrenheit to represent temperatures.
我们重新命名了每个组合框小部件,以便在源代码中能够更好地区分它们,同时在每个组合框旁边放置一个标签,并使用标签文本对每个选项进行了说明。
We renamed each combo widget to make them easier to distinguish in our source code, and placed a label next to each one with a text word for each option.
PHP代码通过一个函数调用写出了广告框,根据环境决定是否调用页面。
The PHP code writes out the AD box with a single function call, which the page can call or not call depending on the circumstances.
这就是图1中奇迹般出现的帮助补全代码的黄色框。
This is the yellow box in Figure 1 that magically appears to help you complete your code.
在可以更新函数下方的count文本框的代码中,您可以看到这些规则的应用。
You can see this principle in play in the code that updates the count text boxes at the bottom of the function.
清单7中的代码显示如何使用Alert对话框。
通过login框注入的代码将有效的查询变成。
The bit of code injected through the Login box turned the valid query into this.
类似地,如果希望通过代码更新此类文本框中的可见内容,您应该使用 urlbox.value =newvalue而不是 urlbox.setAttribute("value", newvalue)。
Similarly, if you wanted to update the visible content of such a text box in code, you should write urlbox.value = newvalue rather than urlbox.setAttribute("value"
构建对话框的代码位于名为Custom_MailRetention的表单中。
The code that builds the dialog box resides in a form named Custom_MailRetention.
使用该对话框为XAExampleSessionbean生成代码。
Use the dialog to generate the code for the XAExampleSession bean.
这个代码使用Enter Yourname文本框的内容来调用Web服务。
This code invokes the web service using the content of the Text Box labeled EnterYour name.
然后,该段代码打开了一个对话框,它允许您选择需要进行转换的文章。
Then, the code opens a dialog that lets you choose which article you want to work on.
对话框可以用不同代码在UI上显示文本,但是,全球化方法是相同的。
Dialogs have different code to show text on the UI, but the globalization method is the same.
下一代码段在提示框中显示每个回复文档的主题,以便于用户选择任何组合。
This next code snippet displays the subject of each response document in a prompt box for the user to select any combination.
当决定到哪里旅行时,用户是否必须查阅几百个网站,然后才能找到某个机场的代码以输入搜索框中?
When deciding where to go, should the consumer need to read up on hundreds of destinations before finding out the airport code to put into a search box?
接下来的部分将会进一步地解释,怎样使用这些信息以呈现这些对话框以及代码范例。
The following sections will explain, in detail, how this information is used to present these dialogs, with code examples.
该代码从对话框中获得订阅名、要使用的队列管理器以及要发送消息的队列名。
The code gets the subscription name, the queue manager to use, and the queue name to send the message from the dialog.
当你做完那些获取代码的步骤以后,你将会得到两部分代码,一个是搜索框代码,一个是搜索结果代码。复制搜索结果代码。
When you complete the steps to create the unit on Adsense, you shall get two parts of the generated code, Search Box code and Search Results code, copy the Search Results code.
只要您编写的代码用来产生要求用户与之交互的组件(如对话框),就要编写测试,但实际上编写测试要在编写代码之前进行。
Write the tests as soon as there is code to be written that produces something a user will interact with (such as a dialog), but before actually writing the code.
在SQL查询文本框(图5)之中,输入如代码清单1所示的代码。
In the SQL query text box (Figure 5), enter the code shown in Listing 1.
然后您需要生成一个SWT外壳类和对话框窗口本身的类(下载本文底部的代码)。
Then you need to make an SWT shell class and a class for the dialog window itself Download the code at the bottom of the article.
文本框的验证代码如清单1。
这些方法将显示一个描述错误的警告对话框,希望用户将错误描述发给代码的作者。
These methods will display an alert dialog describing the error, in the hope that some helpful user will send a problem description to the code's author.
有了DHTML代码后,即可更轻松地在PHP应用程序中使用弹出框。
With the DHTML code in hand, you can now make it easier to use pop-ups in PHP applications.
有了DHTML代码后,即可更轻松地在PHP应用程序中使用弹出框。
With the DHTML code in hand, you can now make it easier to use pop-ups in PHP applications.
应用推荐