Listing 1. The body onload handler.
清单1.body内的onload处理程序。
Thus, in Listing 4, the HTML element has an onload attribute.
因此,在清单4 中,HTML元素有一个onload属性。
onLoad gets called when the class is loaded from the database.
onLoad在类从数据库中加载时被调用。
For example, the tag has the onload and onunload attributes.
例如,标记拥有onload和onunload属性。
Think of it as a user-specified onLoad attribute invocation.
可把它视为特定于用户的 onload属性调用。
In this case, this mechanism results in invoking the method onLoad.
在这个例子中,这个机制导致调用onLoad方法。
Finally, onLoad gets called when the class gets loaded from the database.
最后,从数据库加载类后调用onload。
The onload event is fired when the loading of a page is completed in the Web browser.
onload事件在Web浏览器完成加载某个页面时触发。
You can run this by putting it into the onLoad handler of your page's body element, like this
现在就可以通过将其放入页面body元素的onLoad处理程序来运行它,如下所示
The only downside is you'll need to run this method on your page's onLoad event, on the body tag.
惟一的缺点是您需要在页面的body 的onLoad事件上运行此方法。
Unconditional preload - as soon as onload fires, you go ahead and fetch some extra components.
preload Unconditional-尽快onload激发您前进,并提取一些额外的组件。
When the page is first loaded (onLoad event), the request handler is registered with the Ajax engine.
第一次加载此页面时(onLoadevent),请求处理程序使用Ajax引擎进行注册。
The client's onload event handler is invoked when the CM provider sets the IFrame SRC to the return URL.
当CM提供者设置IF ramesrc以返回url时,客户的onload事件处理器得到激活。
The onload attribute of the tag tells the browser to call the plot function when the page is loaded.
标记的onload属性告诉浏览器在载入页面时调用plot函数。
Next, an event similar to onload on the browser side is established, except this one is on the server side.
接下来,建立了类似浏览器端的onload的事件,只不过这个位于服务器端。
This tag is loaded early in the loading process, but it won't be executed until the body onload function is called.
此标记在加载过程的早期加载,但它在body内的onload函数调用之后才会执行。
You can use the onload event handler to test that specific fields (on which the update panel depends) are populated.
您可以使用onload事件处理程序测试该特定字段(更新面板所依赖的字段)是否已填充。
You activate the code by adding an onload method to the tag, which starts the code right after the page finishes loading.
可以通过向标记添加onload方法来激活代码,此方法会在页面加载之后立即启动代码。
By using the onload event, your DOM related behavior is only applied after a whole page, including all of its assets, is loaded.
使用onload事件的话,你的DOM相关代码只会在你整个页面,包括页面上的元素都加载完成后才执行。
The result is that the methods onLoad and onview are invoked automatically by the framework when the widget is placed onto the page.
结果是当把小部件放到页面上之后,框架将自动调用onLoad和onview方法。
In addition to timestamping your domain class, you can tap into four event hooks: beforeInsert, befortUpdate, beforeDelete, and onLoad.
除了给域类添加时间戳,还可以引入4 个事件挂钩:beforeInsert、befortUpdate、beforeDelete和onload。
In the Listing 5, the DOM is used to lodge an onload event handler which fires the initialize function once the XUL page is fully received.
在清单5中,DOM用来存放一个装载事件处理程序,当XUL页面完全接收时,这个事件激活initialize函数。
Also note the onload attribute: This is called when the SVG document is first loaded and is useful for performing initialisation on your SVG.
还要注意onload属性:第一次装载sVG文档时要调用这个属性,它对于您的SVG初始化很有用。
The first block contains the event handler to initialize the application (onload) and the initialization of the database, as shown in Listing 3.
第一段包含初始化应用程序的事件处理函数(onload)和数据库初始化,如清单3所示。
This function is also invoked once the page is loaded in the browser because the onload attribute of the tag contains the validateText() call.
每次页面加载到浏览器中时也将调用此函数,因为标记的onload属性包含validateText() 调用。
The HTML BODY tag taken from AddressBook.html shown below associates the OnPageLoad function with the onload event, and is called whenever the page is loaded.
下面显示的AddressBook .html中的htmlBODY标记将onpageload函数与onload事件相关联,每当装载该页面时,就会调用这个函数。
Before we began tracking history in the photo gallery application, we simply needed to call the x_get_table function during the onload event for the page.
在开始跟踪相册应用程序的历史记录之前,只需要在页面加载过程中调用x_get _ table函数即可。
The code snippet shown in Listing 1 for the onLoad method specifies that this method initializes and loads all dependencies that are required for the operation of the iWidget.
清单1 中显示了onLoad方法的代码片段,它指定该方法初始化和加载 iWidget操作所需的所有依赖项。
Considering the sample application, the implementation of the onLoad method ensures that the NotificationService is injected into the Person entity each time it is retrieved from the database.
对于该示例应用来说,onLoad方法的实现保证了每次从数据库中加载person实体后都将NotificationService注入其中。
The delay is caused by the way browsers load, parse and render documents. If you call your scripts with the onload event on the window, all of these following steps will have to be finished
延时是由于浏览器加载,解析和展现文档的方式造成的。
应用推荐