June 1, 2006
HTML DOM visualizer
Every wondered what your sites layout look visually? Well this neat little applet will spider your site and build an organic chart that shows not only your sites layout, but its DOM markup as well.
Every wondered what your sites layout look visually? Well this neat little applet will spider your site and build an organic chart that shows not only your sites layout, but its DOM markup as well.
This is a handy reference for all the various getElementsBy*() JavaScript functions that are out there, from the DOM standard getElementById to the very advanced getElementsBySelector functions.
“I’ve put this together because it’s near impossible to write any useful scripts that use the DOM without these functions, and its nice to know the different methods available.”
I [...]
One of the biggest pains while writing JavaScript for the browser is targeting elements in the dom for manipulation. The normal method consists of putting unnecessary ID’s or Class attributes on elements and fetching them with getElementById() or getElementsByTagName() followed by a loop through the returned elements if there are more [...]