[ Skip to the content ]

Institute of Formal and Applied Linguistics Wiki


[ Back to the navigation ]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
user:ptacek:ff-extension [2007/04/18 14:55]
ptacek vytvořeno
user:ptacek:ff-extension [2007/04/18 15:43] (current)
ptacek
Line 1: Line 1:
 ====== FF extension ====== ====== FF extension ======
  
- * nejlepe s pluginem do eclipsy [[http://xulbooster.org/]]+  * nejlepe s pluginem do eclipsy [[http://xulbooster.org/]]
  
 +<code>
 +var domView =
 +Components.classes["@mozilla.org/inspector/dom-view;1"].createInstance(Components.interfaces.inIDOMView);
  
 +var domDocument = document.implementation.createDocument("", "", null);
 +domDocument.load('chrome://crawlermodelgen/content/morningstar.xml');
 +
 +domView.rootNode = domDocument;
 +domView.showWhitespaceNodes = true;
 +domView.showAnonymousContent = true;
 +domView.showSubDocuments = true;
 +domView.whatToShow &= (NodeFilter.SHOW_ALL);
 +
 +var sidebarTree = sidebar.document.getElementById("cmgDOMTree");
 +sidebarTreeBox.view = domView; 
 +</code>

[ Back to the navigation ] [ Back to the content ]