This script provides a selection in a dropdown menu, determined by the user’s previous selection. Easy to implement and customize. Could be used with other dynamic languages, such as JSP or ASP. The arrays could be created by information fetched from a database. (more…)
This script creates a collapsible menu. Unlimited nested sub-links can also be added. The script uses a cookie to remember what portion of the menu the visitor has displayed so it will remain open when he returns to the page. The appearance of the menu can be changed to match any site. (more…)
CANVAS is a new HTML element which can be used to draw graphics using JavaScript. This script will rotate an image a varying amount of degrees: 90, 180, -90, and back to 0. Can be used in many different ways. (more…)
This tutorial will show how to prevent errors in your forms and ultimately bring them to life using JavaScript. (more…)
Use this snippet to obtain the width and height of the visitor’s client window. This is a much better method than getting the resolution as this is the actual size of the window displaying the Web page. (more…)