Subdirectories of Sample Code:
Categories related to Computers: Programming: Languages: JavaScript: W3C DOM: Sample Code: Computers: Programming: Languages: JavaScript: Scripts (209) Websites on Sample Code: Adding Methods to HTML Elements How to extend HTML elements with custom methods when coding Web 2.0 application and DHTML. Advanced DHMTL Demonstrates advanced Javascript with demos of flocking fish and lighting animation Animated document title Demonstrates the use of NS 6's document.title property to animate the document's TITLE. BrainJar.com Experiments in web programming. Includes practical examples of coding for browsers that support the W3C DOM. DHTML Window A 100% DOM based window that can be dragged, resized, and closed like a regular window. Drag-and-drop planetary size comparison Interactively compare the sizes of two or more planets in the solar system by dragging their images into the size box. DHMTL page that works in W3C DOM compliant browsers only. (will work in MSIE 5, although error messages are produced.) External script files. getElementById.com Nice collection of scripts and samples demonstrating the fundamentals of DOM coding made by Martial Boissonneault. Highlight image script This script demonstrates using the DOM of IE 4/ NS 6 to dynamically highlight an image (apply a border to it) whenever the mouse moves over it. Mozilla's DOM Sample Project Samples made by volunteers for sharing knowledge and information about the DOM of Mozilla. You can select from the pulldown menus which samples you want to see. Mozilla's DOM Sample Project: List of Sample Pages A set of interactive samples demonstrating how to use features of the W3C DOM. Pseudo-links Working demo with tutorial how to create pseudo-links using DOM. Resolution Independent Layout Script set "body.style.zoom" according to the width of the window, that can be resized. Shake image script (onMouseover) This script "shakes" an image when the mouse comes in contact with it, by harnessing the relative positioning/animating capability of NS 6 and IE 4+. Style with DOM. How to dynamically change styles using the DOM. Submit Once! form validation script Use this practical script to prevent users from abusing the submit button of your forms in NS 6 and IE 4+. It will automatically disable the button immediately after it's pressed. Taboca Demonstrations for Gecko A collection of demos by Marcio Galli. Toshirou Takahashi's DOM Sample Code Numerous samples showing how to use DOM features. WebFx A showcase for DOM and DHTML JavaScript programming.
|
|