Extinct Families of Sciaroidea

/* aqTree2
Explorer-style trees from unordered lists
http://www.kryogenix.org/code/browser/aqtree2/

Usage:
Create a valid nested unordered list (UL) structure
Make the top-level UL of class aqtree2
Include this script

That's it!

*/

/* -----------------------------------------------------------------------------------
functions to build the tree on document load
----------------------------------------------------------------------------------- */

function getRandomID() {
myRandomID = '';
for (irandom=0;irandom<10;irandom++) {
p = Math.floor(Math.random()*26);
myRandomID += 'abcdefghijklmnopqrstuvwxyz'.substring(p,p+1);
}
return myRandomID;
}

function makeaqtree(ul,level) {
var cn=ul.childNodes;
var myReplacementNode = document.createElement("div");

// Walk through all LIs that are subordinate to this UL
for (var icn=0;icn 0) {
alert("UL structure is invalid; a UL contains a text node: '"+cn[icn].nodeValue+"'");
return;
}
} else {
alert("UL structure is invalid; a UL contains something other than an LI (a "+cn[icn].nodeName+", in fact)");
return;
}
}

// We know that the node we have now is an LI
// Walk through it and get all its content; add that content to a div
// If the content contains a UL, then:
// call makeaqtree with the UL; this will create its content as a div and return that div
// our content div must get an onClick handler that shows/hides the id'ed div

var contentNodes = cn[icn].childNodes;
var thereIsASubMenu = 0;
var subNodes = new Array();
for (var icontentNodes=0;icontentNodes 0) {
var icon = document.createElement("span");
icon.innerHTML = aqtree2_bulletHTML;
icon.className = 'aqtree2icon';
containerElement.appendChild(icon);
}
}

// Add all subnodes to the container element
for (isubNodes=0;isubNodes Extinct Families of Sciaroidea

  • †ANTEFUNGIVORIDAE
    • Antefungivora Rohdendorf, 1938
    • Antiquamedia Rohdendorf, 1938
    • Aortomima Zhang, Zhang, Liu & Shangguan, 1986
    • Baishuilingella Lin, 1980
    • Licoriomimodes Rohdendorf, 1946
    • Mimallactoneura Rohdendorf, 1946
    • Paralycoriomima Rohdendorf, 1946
    • Pleciomima Rohdendorf, 1938
    • Sciaromima Kovalev, 1990
  • †ARCHIZELMIRIDAE
    • Archimelzira Grimaldi, Dalton, Blagoderov, 2003
    • Archizelmira Rohdendorf, 1962
    • Burmazelmira Grimaldi, Dalton, Blagoderov, 2003
    • Zelmiarcha Grimaldi, Dalton, Blagoderov, 2003
  • †EODITOMYIIDAE
    • Eoditomyia Ansorge, 1994
  • †MESOSCIOPHILIDAE
    • Eoboletina Rohdendorf, 1946
    • Mesosciophila Rohdendorf, 1946
    • Mesosciophilina Kovalev, 1985
    • Mesosciophilopsis Blagoderov, 1994
  • †PARAXYMYIIDAE
    • Complecia Blagoderov, 1999
    • Eomycetophila Kovalev, 1989
    • Paraxymyia Rohdendorf, 1946
    • Veriplecia Blagoderov, 1999
    • Virginiplecia Blagoderov & Grimaldi, 2007
  • †PLECIOFUNGIVORIDAE
    • Archihesperinus Rohdendorf, 1962
    • Archipleciofungivora Rohdendorf, 1962
    • Bryanka Kovalev, 1985
    • Eohesperinus Rohdendorf, 1946
    • FungivoritesRohdendorf, 1938
    • Fungivoriplecia Kovalev, 1985
    • Ghilaroviana Kovalev, 1985
    • Krasnoyarskia Kovalev, 1985
    • Matilia Kovalev, 1985
    • Mesopleciofungivora Hong & Wang, 1990
    • Parapleciofungivora Hong & Wang, 1990
    • Pleciofungivora Rohdendorf, 1938
    • Pleciofungivorella Rohdendorf, 1946
    • Prohesperinus Rohdendorf, 1946
    • Rhaetofungivora Rohdendorf, 1962
    • Rohdendorfomiella Kovalev, 1985
    • Willihennigia Kovalev, 1985
  • †PROTOPLECIIDAE
    • Archipleciomima Rohdendorf, 1962
    • Mesopleciella Rohdendorf, 1962
    • Palaeoplecia Rohdendorf, 1946
    • Protoligoneura Rohdendorf, 1962
    • Protoplecia Handlirsch, 1906
Keywords: 
Sun, 2007-03-04 16:01 -- Anonymous (not verified)
Scratchpads developed and conceived by (alphabetical): Ed Baker, Katherine Bouton Alice Heaton Dimitris Koureas, Laurence Livermore, Dave Roberts, Simon Rycroft, Ben Scott, Vince Smith