Trying to learn how to translate from the human translation examples.
From professional translators, enterprises, web pages and freely available translation repositories.
the isjsenabled function tests for the availability of necessary javascript methods, such as getelementsbytagname and getelementbyid.
isjsenabled 函数测试所需的 javascript 方法(比如 getelementsbytagname 和 getelementbyid )的可用性。
Last Update: 2011-03-23
Usage Frequency: 1
Quality:
the addloadevent function adds a javascript function to the window.onload event, making sure it is run when the web page is loaded.drupal 4.7 provides some useful javascript utilities. the isjsenabled function tests for the availability of necessary javascript methods, such as getelementsbytagname and getelementbyid. without these, other javascript functions provided by the drupal environment may not work. the addloadevent function adds a javascript function to the window.onload event, making sure it is run when the web page is loaded.
addloadevent 函数将一个 javascript 函数添加到 window.onload 事件上,这确保它在装载 web 页面时运行。drupal 4.7 提供了一些有用的 javascript 实用程序。 isjsenabled 函数测试所需的 javascript 方法(比如 getelementsbytagname 和 getelementbyid )的可用性。 如果没有这些方法,drupal 环境提供的其他 javascript 函数可能是无效的。 addloadevent 函数将一个 javascript 函数添加到 window.onload 事件上,这确保它在装载 web 页面时运行。
Last Update: 2011-03-23
Usage Frequency: 1
Quality: