Listing 1. The body onload handler.
清单1 . body内的onload处理程序。
Listing 1. Code for onLoad function.
清单1 . onLoad函数代码。
The body onload method should be as shown in Listing 1.
body 内的 onload 方法应该如清单 1 所示。
Thus, in Listing 4, the HTML element has an onload attribute.
因此,在清单 4 中,HTML 元素有一个 onload 属性。
onLoad — This function is where you place initialization code.
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 属性调用。
This is shown in Listing 13, along with my page's onload function.
清单 13 展示了这一过程,以及页面的 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.
第一次加载此页面时(onLoad event),请求处理程序使用Ajax引擎进行注册。
The client's onload event handler is invoked when the CM provider sets the IFrame SRC to the return URL.
当CM提供者设置IF rame src以返回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属性:第一次装载s VG文档时要调用这个属性,它对于您的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所示。