Header
From Nanya
<style type="text/css"> /* Notes: -You must log as admin to edit this page -Whatever you enter in this page will be added to the html in the header after the standard style sheet, so you can override styles. -if you want your code to look nice on this page, put a space at the beginning of each line -This is the default style sheet that you can override : http://editthis.info/wiki/skins/monobook/main.css For example uncomment this next section to turn all the text black: */
body { color: black; }
.CategoryTreeChildren { margin-left: 1.5ex; }
.CategoryTreeBullet a:link { text-decoration: none; color: inherit; font-weight: bold; speak: none; }
.CategoryTreeLabelPage { font-style: italic; }
.CategoryTreeParents { margin-top: 1.5ex; font-style: italic; }
.CategoryTreeResult { margin-top: 1.5ex; }
.CategoryTreeTag { margin-top: 0.5ex; margin-bottom: 0.5ex; }
.CategoryTreeNotice { font-style: italic; } </style>
<script type="text/javascript"> function categoryTreeNextDiv(e) { var n= e.nextSibling; while ( n && ( n.nodeType != 1 || n.nodeName != 'DIV') ) { //alert('nodeType: ' + n.nodeType + '; nodeName: ' + n.nodeName); n= n.nextSibling; }
return n; }
function categoryTreeExpandNode(cat, mode, lnk) { var div= categoryTreeNextDiv( lnk.parentNode.parentNode );
div.style.display= 'block'; lnk.innerHTML= '–'; lnk.title= categoryTreeCollapseMsg; lnk.onclick= function() { categoryTreeCollapseNode(cat, mode, lnk) }
if (lnk.className != "CategoryTreeLoaded") { categoryTreeLoadNode(cat, mode, lnk, div); } }
function categoryTreeCollapseNode(cat, mode, lnk) { var div= categoryTreeNextDiv( lnk.parentNode.parentNode );
div.style.display= 'none'; lnk.innerHTML= '+'; lnk.title= categoryTreeExpandMsg; lnk.onclick= function() { categoryTreeExpandNode(cat, mode, lnk) } }
function categoryTreeLoadNode(cat, mode, lnk, div) { div.style.display= 'block'; lnk.className= 'CategoryTreeLoaded'; lnk.innerHTML= '–'; lnk.title= categoryTreeCollapseMsg; lnk.onclick= function() { categoryTreeCollapseNode(cat, mode, lnk) }
categoryTreeLoadChildren(cat, mode, div) }
function categoryTreeLoadChildren(cat, mode, div) { div.innerHTML= '' + categoryTreeLoadingMsg + '';
function f( request ) { result= request.responseText; result= result.replace(/^\\s+|\\s+$/, );
if (request.status != 200) result= "if ( result == ) { result= '';
if ( mode == 0 ) result= categoryTreeNoSubcategoriesMsg; else if ( mode == 10 ) result= categoryTreeNoPagesMsg; else result= categoryTreeNothingFoundMsg;
result+= ''; }
result = result.replace(/##LOAD##/g, categoryTreeExpandMsg); div.innerHTML= result; }
sajax_do_call( "efCategoryTreeAjaxWrapper", [cat, mode] , f ); }
</script>