求高手解释下JavaScript代码的含义!代码如下,谢谢:--------------------------------------------tstartList = function() {if (document.all&&document.getElementById) {cssdropdownRoot = document.getElementById("home_navList");for (i=0; i

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/04 09:26:19
求高手解释下JavaScript代码的含义!代码如下,谢谢:--------------------------------------------tstartList = function() {if (document.all&&document.getElementById) {cssdropdownRoot = document.getElementById(

求高手解释下JavaScript代码的含义!代码如下,谢谢:--------------------------------------------tstartList = function() {if (document.all&&document.getElementById) {cssdropdownRoot = document.getElementById("home_navList");for (i=0; i
求高手解释下JavaScript代码的含义!
代码如下,谢谢:
--------------------------------------------
tstartList = function() {
if (document.all&&document.getElementById) {
cssdropdownRoot = document.getElementById("home_navList");
for (i=0; i

求高手解释下JavaScript代码的含义!代码如下,谢谢:--------------------------------------------tstartList = function() {if (document.all&&document.getElementById) {cssdropdownRoot = document.getElementById("home_navList");for (i=0; i
tstartList = function() {
if (document.all&&document.getElementById) {如果文档加载&& DOM方法存在
cssdropdownRoot = document.getElementById("home_navList");获取导航条为当前对象
for (i=0; i