hi guys, how to code this vbscript in javascript? thanks..

<script language=vbscript>
<!--
 Sub CallMenu(n,isHidden)
	document.all("menu" & n).style.visibility = isHidden
 End Sub
//-->
</script>

This will do it:

<script type="text/javascript">
<!--
function callMenu(n, isHidden) {
document.all[(('menu')+n)].style.visibility = isHidden; }
//-->
</script>

Thanks for your help, Essential :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.