As an example, the code in Listing 38 shows a button in a canvas.
例如,清单38中的代码显示一个画布中的一个按钮。
As an example, suppose that you are making an SVG image of a tiger and you want the tiger's eyes to blink when the user clicks a button.
举个例子,假设您正在制作一个老虎的SVG图像,并且希望在用户单击某个按钮时这个老虎会眨眼。
Click the appropriate button to Add, Submit, or Search a defect. (See Figure 11 for an example).
点击适当按钮以添加,交付,或者搜索一个缺陷(见于图11以得到一个范例)。
Listing 3 duplicates the earlier button selection example shown in Figure 1, using an EventHandler.
清单3重复了前面图1中的按钮选择例子,使用了一个EventHandler。
The example in Listing 18 shows the onclick event emitted by a button being mapped to an event handler.
清单18中的例子显示一个按钮发出的onclick事件,该事件被映射到一个事件处理程序。
An example of a split-action button displays in the mail application inbox.
split - action按钮的一个例子可以从邮件应用程序的收件箱中看到。
Here is an example of setting an action on a button.
这里有一个为按钮设置操作的例子。
For an example, see Simon Willison’s site and the button that reads ‘Reveal my Address’ near the top of the page.
例如,访问SimonWillison的站点,你会发现在网页顶部有一个“隐藏我的地址”的按钮
For the sake of this example, the Transfer Funds button, shown in red, invokes an Ajax call.
对于这个示例,用红色表示的转账按钮引发一个Ajax调用。
Listing 3 shows a simple example that creates an input field with a label and a Submit button.
清单3中的例子创建了一个带标签的input字段和Submit按钮。
For example, on the status page, you might have a user enter an order number and have another button or link that gives them their status.
例如,在状态页面中,可能让用户输入订单号,然后让另一个按钮或链接向用户提供他们的状态。
For example, one could write an application containing a view that creates a perspective when a button is clicked.
例如,客户可以编写一个包含某个视图的应用程序,该视图可以在单击按钮时创建一个透视图。
For example, the dialog can be displayed when a user hovers over an item, clicks a button, or selects a value in a drop-down selection list.
例如,可以在用户将鼠标悬停在某个项目上、单击按钮或从下拉列表中选择值时显示对话框。
For example, let's say the user clicks a button that is bound to an action method, which gets invoked during the invoke application phase (refer back to Figure 1 for details).
例如,假定用户单击了绑定到某个操作方法的按钮,那么就会在调用应用程序阶段调用这个方法(有关的细节,请参见上面的图1)。
Debates during an election, for example, tend to highlight hot-button issues and talking points that play to constituents' emotions.
举例来说,在选举辩论中,论点往往会集中于能够挑动选民情绪的社会热点事件和话题。
The second one is an example of how to create a button with an image.
第二个按钮用于展示如何创建图像按钮。
For example, instead of an onchange event for each edit box, use the onclick event of one button.
例如,与每一个编辑框具有一个onchange事件相反,使用一个按钮的onclick事件。
If you check the standard life cycle of JSF, you will find that the user normally needs to produce an event on the Web page (by clicking a button, for example) to invoke the GUI refresh.
如果研究一下JSF的标准生命周期,不难发现用户通常需要在Web页面上生成一个事件(比如,通过单击一个按钮)来调用GUI刷新。
For example, if you want the progress bar to start when the user clicks a button, you can add an onclick event to the button, using the code that you see in Listing 1.
例如,如果您想要这个进展在用户点击一个按钮时开始,您可以在一个按钮上添加一个onclick事件,使用您在列表1中所看到的代码。
Listing 4 shows a simple example of a Dojo component for a special button to the user in an HTML page.
清单4展示了一个简单的Dojo组件示例,它是HTML页面中一个面向用户的特殊按钮。
PaintCenter: This attribute lets you keep the center of an image (in a button for example) or get rid of it.
paintCenter:该属性允许您保留或者舍弃图像的中间区域(例如在一个按钮中)。
For example, an application may present a button labeled clients that, when clicked, displays a list of contacts that are your clients.
例如,某个应用程序可能提供了一个标签为Clients的按钮,单击该按钮时,会显示一个联系人列表,上面都是您的客户。
The initial logic behind the Search button is very similar to the first example: we check that the text box doesn't contain an empty string prior to invoking the web service.
在Search按钮背后的初始逻辑是类似于第一个实例:我们在调用 Web 服务之前,检查文本框是不是一个空字符串。
For example, such an external trigger might be a user that clicks a button in a web application to indicate that a certain task is completed.
例如,这个外部触发器可能是用户对Web应用中表示任务完成按钮的一次点击。
An example of this is to use the standard component, which defines events such as onmouseover, to create your own custom button.
例如在使用标准组件时,该组件定义了onmouseover之类的事件,通过这些事件便可以创建自己的定制按钮。
For example, hold the mouse-button-down for nearly 2 seconds on an image, then click the password-entry box and the Submit button with "normal" release times.
例如,在图像上按住鼠标将近2秒钟,然后按照“正常”释放时间单击密码输入框和Submit按钮。
The values of the input components from the SearchForm.jsp example are bound to the properties of a simple bean, and the Search button triggers an action method named searchAction().
jsp示例的输入组件的值与某个简单bean 的属性绑定在一起,Search按钮触发名为searchAction() 的操作方法。
To define an event using the Managed Extensions, you use the __event keyword. For example, the Button class in Windows: : Forms has a Click event.
为了用托管扩展定义一个事件,你得用__event关键字。
Getting back to the example shopping-cart scenario, I want to invoke an Ajax interaction whenever the user hits the Add to cart button for a catalog item.
返回示例的购物车场景,我想要当用户在目录项目上点击addto Cart时启动Ajax交互。
Getting back to the example shopping-cart scenario, I want to invoke an Ajax interaction whenever the user hits the Add to cart button for a catalog item.
返回示例的购物车场景,我想要当用户在目录项目上点击addto Cart时启动Ajax交互。
应用推荐