..
On the basis of Article Windows-style horizontal menu made with JavaScript in DHTML, we see in this article how to make the same kind of dynamic horizontal menu using VBScript as the language for the implementation of a DHTML script.
This Article will not be used to implement a menu different from the one created in the article mentioned above: its purpose is to demonstrate how the VBScript is a scripting language that the client side, Javascript has the same potential, even against DHTML.
The image shown below is the final result of our script, identical to the already mentioned Article

Below, however, the translated code in VBScript:
<script LANGUAGE="VBScript">
Function Open (m)
document.getElementById (m). style.visibility = "Visible"
End Function
Function close (m)
document.getElementById (m). style.visibility = "hidden"
End Function
</ Script>
Compared with the Javascript code of the Item you may notice that the differences are purely syntactic and non-functional, since, as I said, DHTML is always the same with any client-side scripting language.
For complete list of the syntactic differences between teaching the JavaScript and VBScript code:
| |
ASP Zero (Ebook)
Learning Microsoft ASP and VBScript from scratch. At only 29 €. |
| |
Visual Basic 6 (Course)
Make Desktop Applications with VB6. From 39 €. |