im a n00b and i made this little script:
but document.getElementById functions stop the execution of the code. Why? thkCode:var menu_value = new Array('login','panel','show','search','support','stats'); var i; for (i = 0; i < menu_value.length; i++) { document.getElementById(menu_value[i]).style.display = 'none'; } document.getElementById(menu_value[1]).style.display = 'block';![]()



Reply With Quote

Bookmarks