Some examples using SVG and javascript to modify DOM

Create objects
Create a rectangle
    Create text    Create event for existing object

Modify objects
Modify a rectangle
    Modify text    Zoom on object when mouse is over

Clone objects
Clone a rectangle

Some routines
Move object with mouse  Move text with mouse  Rotate a rectangle

Windows 
Alert windows    Confirm windows    Choice windows    Prompt windows

Modify context menu on different objects

Form elements in SVG with JavaScript
Form SVG-JavaScript send dats to server PHP
From SVG file ( run with IE )
Frome HTML file  (window.open() don't run in Netscape 4.X from SVG ! )

Utilisation de clipPath
Animation as in Flah ( spot on text )
Magnifying glass on JPEG
Magnifying glass with choice of file on your disk

Filters
Filter feColorMatrix

Utilities
Modify text, font, size, bold, orientation
Pick a color and opacity

Unrolling menus
Names for colors
Characters table in HTML
Characters table in PHP
Characters table for parameters( URL, Formulaires .. )

Functions and methods to modify DOM with javascript

This examples in a Zip file( 46 523 octets )

More routines with PHP on our site at FREE in french: http://pilat.free.fr/routines/js_dom.htm