View page's DOM in a tree view(树形源代码source-tree-view)
Wednesday, 11. July 2007, 07:53:10
This script shows the current DOM held by the rendering engine, in a nice tree, which nodes are collapsible/expandable.
Instruction are inside the script.
source-tree-view.js
Instruction are inside the script.
source-tree-view.js
you can use it with a button
Source Tree View
or add these in menu.ini
[Document Popup Menu] Item, "Source Tree View"="Go to page, "javascript:ujs_SourceTreeView();""
if you want open source page in a new window,you need find code in source-tree-view.js
//ShowPopUpWindow - set it if you want to popup a new window with the code. if false the current window is used
// beware of popup blocking if the tree loads in a new window.
var ShowPopUpWindow = false;
and change false to true







