Friday, July 31st, 2009

PyramiDOM: Spectrum DOM Analyzer

<p>Andrea Giammarchi has created PyramiDOM a “Spectrum DOM Analyzer”. When I first saw it, and read “Spectrum” I thought I was looking at an old 48k video game, but in fact it is showing you info on the DOM:

The generated spectrum will contain every single nodeType 1 present in the document and will show via tooltip info about that node (nodeName, id if present, className if present). Moreover, it highlights somehow that node temporary changing the background (yellow one). The most wicked effect was in jQuery website itself, since it is dark, and since it is linear enough (you scroll and the spectrum is almost there where you scroll).

On the other hand, the most interesting spectrum was in Gmail, where you can spot a proper pyramid of nested divs. Each nodeName will have the same color, but for practical reasons each time this color will be different (random).

You can grab this PyramiDOM link to play.

Posted by Dion Almaer at 6:38 am
4 Comments

+++--
3.5 rating from 37 votes

4 Comments »

Comments feed TrackBack URI

Syntax error in your example link for Firefox 3.0.12 Linux, works on the original linked webreflection blog post though.

Comment by fansipans — July 31, 2009

Interesting… not sure what the applications of this are, but it looks cool nonetheless.

Comment by willbo — July 31, 2009

Cool, it helps to visualize the semantic-to-noise ratio of a page (considering that div & span are the noise).

Comment by frenchStudent — July 31, 2009

Quick Update: PyramiDOM source code and a new bookmark link available (Dion please change above link as well)

Comment by WebReflection — August 2, 2009

Leave a comment

You must be logged in to post a comment.