<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://microformats.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Maciej</id>
	<title>Microformats Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://microformats.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Maciej"/>
	<link rel="alternate" type="text/html" href="https://microformats.org/wiki/Special:Contributions/Maciej"/>
	<updated>2026-04-22T20:42:10Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.38.4</generator>
	<entry>
		<id>https://microformats.org/wiki/index.php?title=xoxo-compact-sample&amp;diff=4464</id>
		<title>xoxo-compact-sample</title>
		<link rel="alternate" type="text/html" href="https://microformats.org/wiki/index.php?title=xoxo-compact-sample&amp;diff=4464"/>
		<updated>2006-01-27T02:52:27Z</updated>

		<summary type="html">&lt;p&gt;Maciej: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= XOXO 'compact' sample =&lt;br /&gt;
&lt;br /&gt;
Sample CSS and JS that demonstrates how to style and dynamically show XOXO outlines subtrees.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Contributors ==&lt;br /&gt;
&lt;br /&gt;
* Written by Maciej Stachowiak.&lt;br /&gt;
* Minor validation tweaks by Tantek Çelik.&lt;br /&gt;
&lt;br /&gt;
You may redistribute this code freely under [http://microformats.org/wiki/simple-bsd-license Simple BSD] or [http://creativecommons.org/licenses/by/2.0/ CC-by-2.0] so long as you preserve the copyright notice.&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
&lt;br /&gt;
This code will currently only work in Safari and other WebKit-based browsers. In Firefox and other Gecko-based browsers, the behavior ids right but the layout is wrong because Gecko doesn't handle the negative margin-top properly. In Opera, it displays properly but does not behave right, because Opera doesn't appear to support attribute selectors. It does not work at all in Internet Explorer because IE does not support generated content.&lt;br /&gt;
&lt;br /&gt;
Workarounds for other browsers are welcome.&lt;br /&gt;
&lt;br /&gt;
== Markup Sample ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;!DOCTYPE html PUBLIC &amp;quot;-//W3C//DTD XHTML 1.0 Transitional//EN&amp;quot;&lt;br /&gt;
        &amp;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
&lt;br /&gt;
Copyright (C) 2006 Maciej Stachowiak. All rights reserved.&lt;br /&gt;
&lt;br /&gt;
You may redistribute this code freely under Simple BSD &lt;br /&gt;
&amp;lt;http://microformats.org/wiki/simple-bsd-license&amp;gt; or CC-by-2.0 &lt;br /&gt;
&amp;lt;http://creativecommons.org/licenses/by/2.0/&amp;gt; so long as you &lt;br /&gt;
preserve the copyright notice.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&lt;br /&gt;
&amp;lt;head&amp;gt;&lt;br /&gt;
&amp;lt;meta http-equiv=&amp;quot;content-type&amp;quot; content=&amp;quot;text/html; charset=utf-8&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;style type=&amp;quot;text/css&amp;quot;&amp;gt;&lt;br /&gt;
/*&amp;lt;![CDATA[*/&lt;br /&gt;
&lt;br /&gt;
li {&lt;br /&gt;
    list-style: none;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
ul, ol {&lt;br /&gt;
    padding-left: 20px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
ul[compact=&amp;quot;compact&amp;quot;], ol[compact=&amp;quot;compact&amp;quot;] {&lt;br /&gt;
    top: 0px;&lt;br /&gt;
    left: 0px;&lt;br /&gt;
    line-height: 0px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
ul[compact=&amp;quot;compact&amp;quot;] *, ol[compact=&amp;quot;compact&amp;quot;] * {&lt;br /&gt;
    display: none;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
li ol:before, li ul:before {&lt;br /&gt;
    content: url('http://homepage.mac.com/ctholland/thelab/outlines/img/triangle_down.gif');&lt;br /&gt;
    float: left;;&lt;br /&gt;
    height: 0px;&lt;br /&gt;
    margin-top: -1em;&lt;br /&gt;
    margin-left: -40px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
li ol[compact=&amp;quot;compact&amp;quot;]:before, li ul[compact=&amp;quot;compact&amp;quot;]:before {&lt;br /&gt;
    content: url('http://homepage.mac.com/ctholland/thelab/outlines/img/triangle.gif');&lt;br /&gt;
}&lt;br /&gt;
/*]]&amp;gt;*/&lt;br /&gt;
&amp;lt;/style&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;br /&gt;
/*&amp;lt;![CDATA[*/&lt;br /&gt;
function tickleStyle(e)&lt;br /&gt;
{&lt;br /&gt;
    var parent = e.parentNode;&lt;br /&gt;
    var after = e.nextSibling;&lt;br /&gt;
    parent.removeChild(e);&lt;br /&gt;
    parent.insertBefore(e, after);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
function clickHandler(event)&lt;br /&gt;
{&lt;br /&gt;
    if (event.target != this) {&lt;br /&gt;
        return;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    var list = this.firstChild.nextSibling;&lt;br /&gt;
    if (list.getAttribute(&amp;quot;compact&amp;quot;) == &amp;quot;compact&amp;quot;) {&lt;br /&gt;
        list.removeAttribute(&amp;quot;compact&amp;quot;);&lt;br /&gt;
    } else {&lt;br /&gt;
        list.setAttribute(&amp;quot;compact&amp;quot;, &amp;quot;compact&amp;quot;);&lt;br /&gt;
    }&lt;br /&gt;
    tickleStyle(list);&lt;br /&gt;
    event.stopPropagation();&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
function attachClickHandlers()&lt;br /&gt;
{&lt;br /&gt;
    var uls = document.getElementsByTagName(&amp;quot;ul&amp;quot;);&lt;br /&gt;
    for (var i = 0; i &amp;lt; uls.length; i++) {&lt;br /&gt;
        if (uls[i].parentNode.tagName == &amp;quot;LI&amp;quot;) {&lt;br /&gt;
            uls[i].parentNode.addEventListener(&amp;quot;click&amp;quot;, clickHandler, false);&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    var ols = document.getElementsByTagName(&amp;quot;ol&amp;quot;);&lt;br /&gt;
    for (var i = 0; i &amp;lt; ols.length; i++) {&lt;br /&gt;
        if (ols[i].parentNode.tagName == &amp;quot;LI&amp;quot;) {&lt;br /&gt;
            ols[i].parentNode.addEventListener(&amp;quot;click&amp;quot;, clickHandler, false);&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
window.addEventListener(&amp;quot;load&amp;quot;, attachClickHandlers, false);&lt;br /&gt;
/*]]&amp;gt;*/&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/head&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;body&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul class=&amp;quot;xoxo&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;First&lt;br /&gt;
    &amp;lt;ul&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;Second&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;Nested&lt;br /&gt;
        &amp;lt;ol compact=&amp;quot;compact&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;li&amp;gt;Items&amp;lt;/li&amp;gt;&lt;br /&gt;
        &amp;lt;li&amp;gt;Rock&amp;lt;/li&amp;gt;&lt;br /&gt;
        &amp;lt;/ol&amp;gt;&lt;br /&gt;
    &amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Maciej</name></author>
	</entry>
	<entry>
		<id>https://microformats.org/wiki/index.php?title=xoxo-compact-sample&amp;diff=4463</id>
		<title>xoxo-compact-sample</title>
		<link rel="alternate" type="text/html" href="https://microformats.org/wiki/index.php?title=xoxo-compact-sample&amp;diff=4463"/>
		<updated>2006-01-27T02:48:04Z</updated>

		<summary type="html">&lt;p&gt;Maciej: /* Markup Sample */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= XOXO 'compact' sample =&lt;br /&gt;
&lt;br /&gt;
Sample CSS and JS that demonstrates how to style and dynamically show XOXO outlines subtrees.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Contributors ==&lt;br /&gt;
&lt;br /&gt;
* Written by Maciej Stachowiak.&lt;br /&gt;
* Minor validation tweaks by Tantek Çelik.&lt;br /&gt;
&lt;br /&gt;
You may redistribute this code freely under [http://microformats.org/wiki/simple-bsd-license Simple BSD] or [http://creativecommons.org/licenses/by/2.0/ CC-by-2.0] so long as you preserve the copyright notice.&lt;br /&gt;
&lt;br /&gt;
== Markup Sample ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;!DOCTYPE html PUBLIC &amp;quot;-//W3C//DTD XHTML 1.0 Transitional//EN&amp;quot;&lt;br /&gt;
        &amp;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
&lt;br /&gt;
Copyright (C) 2006 Maciej Stachowiak. All rights reserved.&lt;br /&gt;
&lt;br /&gt;
You may redistribute this code freely under Simple BSD &lt;br /&gt;
&amp;lt;http://microformats.org/wiki/simple-bsd-license&amp;gt; or CC-by-2.0 &lt;br /&gt;
&amp;lt;http://creativecommons.org/licenses/by/2.0/&amp;gt; so long as you &lt;br /&gt;
preserve the copyright notice.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&lt;br /&gt;
&amp;lt;head&amp;gt;&lt;br /&gt;
&amp;lt;meta http-equiv=&amp;quot;content-type&amp;quot; content=&amp;quot;text/html; charset=utf-8&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;style type=&amp;quot;text/css&amp;quot;&amp;gt;&lt;br /&gt;
/*&amp;lt;![CDATA[*/&lt;br /&gt;
&lt;br /&gt;
li {&lt;br /&gt;
    list-style: none;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
ul, ol {&lt;br /&gt;
    padding-left: 20px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
ul[compact=&amp;quot;compact&amp;quot;], ol[compact=&amp;quot;compact&amp;quot;] {&lt;br /&gt;
    top: 0px;&lt;br /&gt;
    left: 0px;&lt;br /&gt;
    line-height: 0px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
ul[compact=&amp;quot;compact&amp;quot;] *, ol[compact=&amp;quot;compact&amp;quot;] * {&lt;br /&gt;
    display: none;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
li ol:before, li ul:before {&lt;br /&gt;
    content: url('http://homepage.mac.com/ctholland/thelab/outlines/img/triangle_down.gif');&lt;br /&gt;
    float: left;;&lt;br /&gt;
    height: 0px;&lt;br /&gt;
    margin-top: -1em;&lt;br /&gt;
    margin-left: -40px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
li ol[compact=&amp;quot;compact&amp;quot;]:before, li ul[compact=&amp;quot;compact&amp;quot;]:before {&lt;br /&gt;
    content: url('http://homepage.mac.com/ctholland/thelab/outlines/img/triangle.gif');&lt;br /&gt;
}&lt;br /&gt;
/*]]&amp;gt;*/&lt;br /&gt;
&amp;lt;/style&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;br /&gt;
/*&amp;lt;![CDATA[*/&lt;br /&gt;
function tickleStyle(e)&lt;br /&gt;
{&lt;br /&gt;
    var parent = e.parentNode;&lt;br /&gt;
    var after = e.nextSibling;&lt;br /&gt;
    parent.removeChild(e);&lt;br /&gt;
    parent.insertBefore(e, after);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
function clickHandler(event)&lt;br /&gt;
{&lt;br /&gt;
    if (event.target != this) {&lt;br /&gt;
        return;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    var list = this.firstChild.nextSibling;&lt;br /&gt;
    if (list.getAttribute(&amp;quot;compact&amp;quot;) == &amp;quot;compact&amp;quot;) {&lt;br /&gt;
        list.removeAttribute(&amp;quot;compact&amp;quot;);&lt;br /&gt;
    } else {&lt;br /&gt;
        list.setAttribute(&amp;quot;compact&amp;quot;, &amp;quot;compact&amp;quot;);&lt;br /&gt;
    }&lt;br /&gt;
    tickleStyle(list);&lt;br /&gt;
    event.stopPropagation();&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
function attachClickHandlers()&lt;br /&gt;
{&lt;br /&gt;
    var uls = document.getElementsByTagName(&amp;quot;ul&amp;quot;);&lt;br /&gt;
    for (var i = 0; i &amp;lt; uls.length; i++) {&lt;br /&gt;
        if (uls[i].parentNode.tagName == &amp;quot;LI&amp;quot;) {&lt;br /&gt;
            uls[i].parentNode.addEventListener(&amp;quot;click&amp;quot;, clickHandler, false);&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    var ols = document.getElementsByTagName(&amp;quot;ol&amp;quot;);&lt;br /&gt;
    for (var i = 0; i &amp;lt; ols.length; i++) {&lt;br /&gt;
        if (ols[i].parentNode.tagName == &amp;quot;LI&amp;quot;) {&lt;br /&gt;
            ols[i].parentNode.addEventListener(&amp;quot;click&amp;quot;, clickHandler, false);&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
window.addEventListener(&amp;quot;load&amp;quot;, attachClickHandlers, false);&lt;br /&gt;
/*]]&amp;gt;*/&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/head&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;body&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul class=&amp;quot;xoxo&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;First&lt;br /&gt;
    &amp;lt;ul&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;Second&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;Nested&lt;br /&gt;
        &amp;lt;ol compact=&amp;quot;compact&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;li&amp;gt;Items&amp;lt;/li&amp;gt;&lt;br /&gt;
        &amp;lt;li&amp;gt;Rock&amp;lt;/li&amp;gt;&lt;br /&gt;
        &amp;lt;/ol&amp;gt;&lt;br /&gt;
    &amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Maciej</name></author>
	</entry>
	<entry>
		<id>https://microformats.org/wiki/index.php?title=xoxo-compact-sample&amp;diff=4462</id>
		<title>xoxo-compact-sample</title>
		<link rel="alternate" type="text/html" href="https://microformats.org/wiki/index.php?title=xoxo-compact-sample&amp;diff=4462"/>
		<updated>2006-01-27T02:47:29Z</updated>

		<summary type="html">&lt;p&gt;Maciej: /* Markup Sample */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= XOXO 'compact' sample =&lt;br /&gt;
&lt;br /&gt;
Sample CSS and JS that demonstrates how to style and dynamically show XOXO outlines subtrees.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Contributors ==&lt;br /&gt;
&lt;br /&gt;
* Written by Maciej Stachowiak.&lt;br /&gt;
* Minor validation tweaks by Tantek Çelik.&lt;br /&gt;
&lt;br /&gt;
You may redistribute this code freely under [http://microformats.org/wiki/simple-bsd-license Simple BSD] or [http://creativecommons.org/licenses/by/2.0/ CC-by-2.0] so long as you preserve the copyright notice.&lt;br /&gt;
&lt;br /&gt;
== Markup Sample ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;!DOCTYPE html PUBLIC &amp;quot;-//W3C//DTD XHTML 1.0 Transitional//EN&amp;quot;&lt;br /&gt;
        &amp;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
&lt;br /&gt;
Copyright (C) 2006 Maciej Stachowiak. All rights reserved.&lt;br /&gt;
&lt;br /&gt;
You may redistribute this code freely under Simple BSD &amp;lt;http://microformats.org/wiki/simple-bsd-license&amp;gt;  &lt;br /&gt;
or CC-by-2.0 &amp;lt;http://creativecommons.org/licenses/by/2.0/&amp;gt; so long as you preserve the copyright notice.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&lt;br /&gt;
&amp;lt;head&amp;gt;&lt;br /&gt;
&amp;lt;meta http-equiv=&amp;quot;content-type&amp;quot; content=&amp;quot;text/html; charset=utf-8&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;style type=&amp;quot;text/css&amp;quot;&amp;gt;&lt;br /&gt;
/*&amp;lt;![CDATA[*/&lt;br /&gt;
&lt;br /&gt;
li {&lt;br /&gt;
    list-style: none;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
ul, ol {&lt;br /&gt;
    padding-left: 20px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
ul[compact=&amp;quot;compact&amp;quot;], ol[compact=&amp;quot;compact&amp;quot;] {&lt;br /&gt;
    top: 0px;&lt;br /&gt;
    left: 0px;&lt;br /&gt;
    line-height: 0px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
ul[compact=&amp;quot;compact&amp;quot;] *, ol[compact=&amp;quot;compact&amp;quot;] * {&lt;br /&gt;
    display: none;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
li ol:before, li ul:before {&lt;br /&gt;
    content: url('http://homepage.mac.com/ctholland/thelab/outlines/img/triangle_down.gif');&lt;br /&gt;
    float: left;;&lt;br /&gt;
    height: 0px;&lt;br /&gt;
    margin-top: -1em;&lt;br /&gt;
    margin-left: -40px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
li ol[compact=&amp;quot;compact&amp;quot;]:before, li ul[compact=&amp;quot;compact&amp;quot;]:before {&lt;br /&gt;
    content: url('http://homepage.mac.com/ctholland/thelab/outlines/img/triangle.gif');&lt;br /&gt;
}&lt;br /&gt;
/*]]&amp;gt;*/&lt;br /&gt;
&amp;lt;/style&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;br /&gt;
/*&amp;lt;![CDATA[*/&lt;br /&gt;
function tickleStyle(e)&lt;br /&gt;
{&lt;br /&gt;
    var parent = e.parentNode;&lt;br /&gt;
    var after = e.nextSibling;&lt;br /&gt;
    parent.removeChild(e);&lt;br /&gt;
    parent.insertBefore(e, after);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
function clickHandler(event)&lt;br /&gt;
{&lt;br /&gt;
    if (event.target != this) {&lt;br /&gt;
        return;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    var list = this.firstChild.nextSibling;&lt;br /&gt;
    if (list.getAttribute(&amp;quot;compact&amp;quot;) == &amp;quot;compact&amp;quot;) {&lt;br /&gt;
        list.removeAttribute(&amp;quot;compact&amp;quot;);&lt;br /&gt;
    } else {&lt;br /&gt;
        list.setAttribute(&amp;quot;compact&amp;quot;, &amp;quot;compact&amp;quot;);&lt;br /&gt;
    }&lt;br /&gt;
    tickleStyle(list);&lt;br /&gt;
    event.stopPropagation();&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
function attachClickHandlers()&lt;br /&gt;
{&lt;br /&gt;
    var uls = document.getElementsByTagName(&amp;quot;ul&amp;quot;);&lt;br /&gt;
    for (var i = 0; i &amp;lt; uls.length; i++) {&lt;br /&gt;
        if (uls[i].parentNode.tagName == &amp;quot;LI&amp;quot;) {&lt;br /&gt;
            uls[i].parentNode.addEventListener(&amp;quot;click&amp;quot;, clickHandler, false);&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    var ols = document.getElementsByTagName(&amp;quot;ol&amp;quot;);&lt;br /&gt;
    for (var i = 0; i &amp;lt; ols.length; i++) {&lt;br /&gt;
        if (ols[i].parentNode.tagName == &amp;quot;LI&amp;quot;) {&lt;br /&gt;
            ols[i].parentNode.addEventListener(&amp;quot;click&amp;quot;, clickHandler, false);&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
window.addEventListener(&amp;quot;load&amp;quot;, attachClickHandlers, false);&lt;br /&gt;
/*]]&amp;gt;*/&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/head&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;body&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul class=&amp;quot;xoxo&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;First&lt;br /&gt;
    &amp;lt;ul&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;Second&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;Nested&lt;br /&gt;
        &amp;lt;ol compact=&amp;quot;compact&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;li&amp;gt;Items&amp;lt;/li&amp;gt;&lt;br /&gt;
        &amp;lt;li&amp;gt;Rock&amp;lt;/li&amp;gt;&lt;br /&gt;
        &amp;lt;/ol&amp;gt;&lt;br /&gt;
    &amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Maciej</name></author>
	</entry>
	<entry>
		<id>https://microformats.org/wiki/index.php?title=xoxo-compact-sample&amp;diff=4461</id>
		<title>xoxo-compact-sample</title>
		<link rel="alternate" type="text/html" href="https://microformats.org/wiki/index.php?title=xoxo-compact-sample&amp;diff=4461"/>
		<updated>2006-01-27T02:47:04Z</updated>

		<summary type="html">&lt;p&gt;Maciej: /* Markup Sample */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= XOXO 'compact' sample =&lt;br /&gt;
&lt;br /&gt;
Sample CSS and JS that demonstrates how to style and dynamically show XOXO outlines subtrees.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Contributors ==&lt;br /&gt;
&lt;br /&gt;
* Written by Maciej Stachowiak.&lt;br /&gt;
* Minor validation tweaks by Tantek Çelik.&lt;br /&gt;
&lt;br /&gt;
You may redistribute this code freely under [http://microformats.org/wiki/simple-bsd-license Simple BSD] or [http://creativecommons.org/licenses/by/2.0/ CC-by-2.0] so long as you preserve the copyright notice.&lt;br /&gt;
&lt;br /&gt;
== Markup Sample ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;!DOCTYPE html PUBLIC &amp;quot;-//W3C//DTD XHTML 1.0 Transitional//EN&amp;quot;&lt;br /&gt;
        &amp;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;!-- &lt;br /&gt;
&lt;br /&gt;
Copyright (C) 2006 Maciej Stachowiak. All rights reserved.&lt;br /&gt;
&lt;br /&gt;
You may redistribute this code freely under Simple BSD &amp;lt;http://microformats.org/wiki/simple-bsd-license&amp;gt;  or CC-by-2.0 &amp;lt;http://creativecommons.org/licenses/by/2.0/&amp;gt; so long as you preserve the copyright notice.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&lt;br /&gt;
&amp;lt;head&amp;gt;&lt;br /&gt;
&amp;lt;meta http-equiv=&amp;quot;content-type&amp;quot; content=&amp;quot;text/html; charset=utf-8&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;style type=&amp;quot;text/css&amp;quot;&amp;gt;&lt;br /&gt;
/*&amp;lt;![CDATA[*/&lt;br /&gt;
&lt;br /&gt;
li {&lt;br /&gt;
    list-style: none;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
ul, ol {&lt;br /&gt;
    padding-left: 20px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
ul[compact=&amp;quot;compact&amp;quot;], ol[compact=&amp;quot;compact&amp;quot;] {&lt;br /&gt;
    top: 0px;&lt;br /&gt;
    left: 0px;&lt;br /&gt;
    line-height: 0px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
ul[compact=&amp;quot;compact&amp;quot;] *, ol[compact=&amp;quot;compact&amp;quot;] * {&lt;br /&gt;
    display: none;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
li ol:before, li ul:before {&lt;br /&gt;
    content: url('http://homepage.mac.com/ctholland/thelab/outlines/img/triangle_down.gif');&lt;br /&gt;
    float: left;;&lt;br /&gt;
    height: 0px;&lt;br /&gt;
    margin-top: -1em;&lt;br /&gt;
    margin-left: -40px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
li ol[compact=&amp;quot;compact&amp;quot;]:before, li ul[compact=&amp;quot;compact&amp;quot;]:before {&lt;br /&gt;
    content: url('http://homepage.mac.com/ctholland/thelab/outlines/img/triangle.gif');&lt;br /&gt;
}&lt;br /&gt;
/*]]&amp;gt;*/&lt;br /&gt;
&amp;lt;/style&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;br /&gt;
/*&amp;lt;![CDATA[*/&lt;br /&gt;
function tickleStyle(e)&lt;br /&gt;
{&lt;br /&gt;
    var parent = e.parentNode;&lt;br /&gt;
    var after = e.nextSibling;&lt;br /&gt;
    parent.removeChild(e);&lt;br /&gt;
    parent.insertBefore(e, after);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
function clickHandler(event)&lt;br /&gt;
{&lt;br /&gt;
    if (event.target != this) {&lt;br /&gt;
        return;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    var list = this.firstChild.nextSibling;&lt;br /&gt;
    if (list.getAttribute(&amp;quot;compact&amp;quot;) == &amp;quot;compact&amp;quot;) {&lt;br /&gt;
        list.removeAttribute(&amp;quot;compact&amp;quot;);&lt;br /&gt;
    } else {&lt;br /&gt;
        list.setAttribute(&amp;quot;compact&amp;quot;, &amp;quot;compact&amp;quot;);&lt;br /&gt;
    }&lt;br /&gt;
    tickleStyle(list);&lt;br /&gt;
    event.stopPropagation();&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
function attachClickHandlers()&lt;br /&gt;
{&lt;br /&gt;
    var uls = document.getElementsByTagName(&amp;quot;ul&amp;quot;);&lt;br /&gt;
    for (var i = 0; i &amp;lt; uls.length; i++) {&lt;br /&gt;
        if (uls[i].parentNode.tagName == &amp;quot;LI&amp;quot;) {&lt;br /&gt;
            uls[i].parentNode.addEventListener(&amp;quot;click&amp;quot;, clickHandler, false);&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    var ols = document.getElementsByTagName(&amp;quot;ol&amp;quot;);&lt;br /&gt;
    for (var i = 0; i &amp;lt; ols.length; i++) {&lt;br /&gt;
        if (ols[i].parentNode.tagName == &amp;quot;LI&amp;quot;) {&lt;br /&gt;
            ols[i].parentNode.addEventListener(&amp;quot;click&amp;quot;, clickHandler, false);&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
window.addEventListener(&amp;quot;load&amp;quot;, attachClickHandlers, false);&lt;br /&gt;
/*]]&amp;gt;*/&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/head&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;body&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul class=&amp;quot;xoxo&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;First&lt;br /&gt;
    &amp;lt;ul&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;Second&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;Nested&lt;br /&gt;
        &amp;lt;ol compact=&amp;quot;compact&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;li&amp;gt;Items&amp;lt;/li&amp;gt;&lt;br /&gt;
        &amp;lt;li&amp;gt;Rock&amp;lt;/li&amp;gt;&lt;br /&gt;
        &amp;lt;/ol&amp;gt;&lt;br /&gt;
    &amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Maciej</name></author>
	</entry>
	<entry>
		<id>https://microformats.org/wiki/index.php?title=xoxo-compact-sample&amp;diff=4460</id>
		<title>xoxo-compact-sample</title>
		<link rel="alternate" type="text/html" href="https://microformats.org/wiki/index.php?title=xoxo-compact-sample&amp;diff=4460"/>
		<updated>2006-01-27T02:45:07Z</updated>

		<summary type="html">&lt;p&gt;Maciej: /* XOXO 'compact' sample */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= XOXO 'compact' sample =&lt;br /&gt;
&lt;br /&gt;
Sample CSS and JS that demonstrates how to style and dynamically show XOXO outlines subtrees.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Contributors ==&lt;br /&gt;
&lt;br /&gt;
* Written by Maciej Stachowiak.&lt;br /&gt;
* Minor validation tweaks by Tantek Çelik.&lt;br /&gt;
&lt;br /&gt;
You may redistribute this code freely under [http://microformats.org/wiki/simple-bsd-license Simple BSD] or [http://creativecommons.org/licenses/by/2.0/ CC-by-2.0] so long as you preserve the copyright notice.&lt;br /&gt;
&lt;br /&gt;
== Markup Sample ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;!DOCTYPE html PUBLIC &amp;quot;-//W3C//DTD XHTML 1.0 Transitional//EN&amp;quot;&lt;br /&gt;
        &amp;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&lt;br /&gt;
&amp;lt;head&amp;gt;&lt;br /&gt;
&amp;lt;meta http-equiv=&amp;quot;content-type&amp;quot; content=&amp;quot;text/html; charset=utf-8&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;style type=&amp;quot;text/css&amp;quot;&amp;gt;&lt;br /&gt;
/*&amp;lt;![CDATA[*/&lt;br /&gt;
&lt;br /&gt;
li {&lt;br /&gt;
    list-style: none;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
ul, ol {&lt;br /&gt;
    padding-left: 20px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
ul[compact=&amp;quot;compact&amp;quot;], ol[compact=&amp;quot;compact&amp;quot;] {&lt;br /&gt;
    top: 0px;&lt;br /&gt;
    left: 0px;&lt;br /&gt;
    line-height: 0px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
ul[compact=&amp;quot;compact&amp;quot;] *, ol[compact=&amp;quot;compact&amp;quot;] * {&lt;br /&gt;
    display: none;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
li ol:before, li ul:before {&lt;br /&gt;
    content: url('http://homepage.mac.com/ctholland/thelab/outlines/img/triangle_down.gif');&lt;br /&gt;
    float: left;;&lt;br /&gt;
    height: 0px;&lt;br /&gt;
    margin-top: -1em;&lt;br /&gt;
    margin-left: -40px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
li ol[compact=&amp;quot;compact&amp;quot;]:before, li ul[compact=&amp;quot;compact&amp;quot;]:before {&lt;br /&gt;
    content: url('http://homepage.mac.com/ctholland/thelab/outlines/img/triangle.gif');&lt;br /&gt;
}&lt;br /&gt;
/*]]&amp;gt;*/&lt;br /&gt;
&amp;lt;/style&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;br /&gt;
/*&amp;lt;![CDATA[*/&lt;br /&gt;
function tickleStyle(e)&lt;br /&gt;
{&lt;br /&gt;
    var parent = e.parentNode;&lt;br /&gt;
    var after = e.nextSibling;&lt;br /&gt;
    parent.removeChild(e);&lt;br /&gt;
    parent.insertBefore(e, after);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
function clickHandler(event)&lt;br /&gt;
{&lt;br /&gt;
    if (event.target != this) {&lt;br /&gt;
        return;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    var list = this.firstChild.nextSibling;&lt;br /&gt;
    if (list.getAttribute(&amp;quot;compact&amp;quot;) == &amp;quot;compact&amp;quot;) {&lt;br /&gt;
        list.removeAttribute(&amp;quot;compact&amp;quot;);&lt;br /&gt;
    } else {&lt;br /&gt;
        list.setAttribute(&amp;quot;compact&amp;quot;, &amp;quot;compact&amp;quot;);&lt;br /&gt;
    }&lt;br /&gt;
    tickleStyle(list);&lt;br /&gt;
    event.stopPropagation();&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
function attachClickHandlers()&lt;br /&gt;
{&lt;br /&gt;
    var uls = document.getElementsByTagName(&amp;quot;ul&amp;quot;);&lt;br /&gt;
    for (var i = 0; i &amp;lt; uls.length; i++) {&lt;br /&gt;
        if (uls[i].parentNode.tagName == &amp;quot;LI&amp;quot;) {&lt;br /&gt;
            uls[i].parentNode.addEventListener(&amp;quot;click&amp;quot;, clickHandler, false);&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    var ols = document.getElementsByTagName(&amp;quot;ol&amp;quot;);&lt;br /&gt;
    for (var i = 0; i &amp;lt; ols.length; i++) {&lt;br /&gt;
        if (ols[i].parentNode.tagName == &amp;quot;LI&amp;quot;) {&lt;br /&gt;
            ols[i].parentNode.addEventListener(&amp;quot;click&amp;quot;, clickHandler, false);&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
window.addEventListener(&amp;quot;load&amp;quot;, attachClickHandlers, false);&lt;br /&gt;
/*]]&amp;gt;*/&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/head&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;body&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul class=&amp;quot;xoxo&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;First&lt;br /&gt;
    &amp;lt;ul&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;Second&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;Nested&lt;br /&gt;
        &amp;lt;ol compact=&amp;quot;compact&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;li&amp;gt;Items&amp;lt;/li&amp;gt;&lt;br /&gt;
        &amp;lt;li&amp;gt;Rock&amp;lt;/li&amp;gt;&lt;br /&gt;
        &amp;lt;/ol&amp;gt;&lt;br /&gt;
    &amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Maciej</name></author>
	</entry>
	<entry>
		<id>https://microformats.org/wiki/index.php?title=xoxo-compact-sample&amp;diff=4459</id>
		<title>xoxo-compact-sample</title>
		<link rel="alternate" type="text/html" href="https://microformats.org/wiki/index.php?title=xoxo-compact-sample&amp;diff=4459"/>
		<updated>2006-01-27T02:43:59Z</updated>

		<summary type="html">&lt;p&gt;Maciej: /* XOXO 'compact' sample */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= XOXO 'compact' sample =&lt;br /&gt;
&lt;br /&gt;
Sample CSS and JS that demonstrates how to style and dynamically show XOXO outlines subtrees.&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Contributors ==&lt;br /&gt;
&lt;br /&gt;
* Written by Maciej Stachowiak.&lt;br /&gt;
* Minor validation tweaks by Tantek Çelik.&lt;br /&gt;
&lt;br /&gt;
== Markup Sample ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;!DOCTYPE html PUBLIC &amp;quot;-//W3C//DTD XHTML 1.0 Transitional//EN&amp;quot;&lt;br /&gt;
        &amp;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&lt;br /&gt;
&amp;lt;head&amp;gt;&lt;br /&gt;
&amp;lt;meta http-equiv=&amp;quot;content-type&amp;quot; content=&amp;quot;text/html; charset=utf-8&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;style type=&amp;quot;text/css&amp;quot;&amp;gt;&lt;br /&gt;
/*&amp;lt;![CDATA[*/&lt;br /&gt;
&lt;br /&gt;
li {&lt;br /&gt;
    list-style: none;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
ul, ol {&lt;br /&gt;
    padding-left: 20px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
ul[compact=&amp;quot;compact&amp;quot;], ol[compact=&amp;quot;compact&amp;quot;] {&lt;br /&gt;
    top: 0px;&lt;br /&gt;
    left: 0px;&lt;br /&gt;
    line-height: 0px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
ul[compact=&amp;quot;compact&amp;quot;] *, ol[compact=&amp;quot;compact&amp;quot;] * {&lt;br /&gt;
    display: none;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
li ol:before, li ul:before {&lt;br /&gt;
    content: url('http://homepage.mac.com/ctholland/thelab/outlines/img/triangle_down.gif');&lt;br /&gt;
    float: left;;&lt;br /&gt;
    height: 0px;&lt;br /&gt;
    margin-top: -1em;&lt;br /&gt;
    margin-left: -40px;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
li ol[compact=&amp;quot;compact&amp;quot;]:before, li ul[compact=&amp;quot;compact&amp;quot;]:before {&lt;br /&gt;
    content: url('http://homepage.mac.com/ctholland/thelab/outlines/img/triangle.gif');&lt;br /&gt;
}&lt;br /&gt;
/*]]&amp;gt;*/&lt;br /&gt;
&amp;lt;/style&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;br /&gt;
/*&amp;lt;![CDATA[*/&lt;br /&gt;
function tickleStyle(e)&lt;br /&gt;
{&lt;br /&gt;
    var parent = e.parentNode;&lt;br /&gt;
    var after = e.nextSibling;&lt;br /&gt;
    parent.removeChild(e);&lt;br /&gt;
    parent.insertBefore(e, after);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
function clickHandler(event)&lt;br /&gt;
{&lt;br /&gt;
    if (event.target != this) {&lt;br /&gt;
        return;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    var list = this.firstChild.nextSibling;&lt;br /&gt;
    if (list.getAttribute(&amp;quot;compact&amp;quot;) == &amp;quot;compact&amp;quot;) {&lt;br /&gt;
        list.removeAttribute(&amp;quot;compact&amp;quot;);&lt;br /&gt;
    } else {&lt;br /&gt;
        list.setAttribute(&amp;quot;compact&amp;quot;, &amp;quot;compact&amp;quot;);&lt;br /&gt;
    }&lt;br /&gt;
    tickleStyle(list);&lt;br /&gt;
    event.stopPropagation();&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
function attachClickHandlers()&lt;br /&gt;
{&lt;br /&gt;
    var uls = document.getElementsByTagName(&amp;quot;ul&amp;quot;);&lt;br /&gt;
    for (var i = 0; i &amp;lt; uls.length; i++) {&lt;br /&gt;
        if (uls[i].parentNode.tagName == &amp;quot;LI&amp;quot;) {&lt;br /&gt;
            uls[i].parentNode.addEventListener(&amp;quot;click&amp;quot;, clickHandler, false);&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    var ols = document.getElementsByTagName(&amp;quot;ol&amp;quot;);&lt;br /&gt;
    for (var i = 0; i &amp;lt; ols.length; i++) {&lt;br /&gt;
        if (ols[i].parentNode.tagName == &amp;quot;LI&amp;quot;) {&lt;br /&gt;
            ols[i].parentNode.addEventListener(&amp;quot;click&amp;quot;, clickHandler, false);&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
window.addEventListener(&amp;quot;load&amp;quot;, attachClickHandlers, false);&lt;br /&gt;
/*]]&amp;gt;*/&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/head&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;body&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul class=&amp;quot;xoxo&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;First&lt;br /&gt;
    &amp;lt;ul&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;Second&amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;li&amp;gt;Nested&lt;br /&gt;
        &amp;lt;ol compact=&amp;quot;compact&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;li&amp;gt;Items&amp;lt;/li&amp;gt;&lt;br /&gt;
        &amp;lt;li&amp;gt;Rock&amp;lt;/li&amp;gt;&lt;br /&gt;
        &amp;lt;/ol&amp;gt;&lt;br /&gt;
    &amp;lt;/li&amp;gt;&lt;br /&gt;
    &amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You may redistribute this code freely under [http://microformats.org/wiki/simple-bsd-license Simple BSD] or [http://creativecommons.org/licenses/by/2.0/ CC-by-2.0] so long as you preserve the copyright notice.&lt;/div&gt;</summary>
		<author><name>Maciej</name></author>
	</entry>
	<entry>
		<id>https://microformats.org/wiki/index.php?title=simple-bsd-license&amp;diff=31650</id>
		<title>simple-bsd-license</title>
		<link rel="alternate" type="text/html" href="https://microformats.org/wiki/index.php?title=simple-bsd-license&amp;diff=31650"/>
		<updated>2006-01-27T02:41:55Z</updated>

		<summary type="html">&lt;p&gt;Maciej: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met&lt;br /&gt;
&lt;br /&gt;
1. Redistributions of source code must retain the above copyright notice, and either this list of conditions and the following disclaimer or a link to an copy of the license, e.g. http://microformats.org/wiki/simple-bsd-license&lt;br /&gt;
&lt;br /&gt;
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.&lt;br /&gt;
&lt;br /&gt;
THIS SOFTWARE IS PROVIDED BY THE AUTHOR &amp;quot;AS IS&amp;quot; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.&lt;/div&gt;</summary>
		<author><name>Maciej</name></author>
	</entry>
	<entry>
		<id>https://microformats.org/wiki/index.php?title=simple-bsd-license&amp;diff=4456</id>
		<title>simple-bsd-license</title>
		<link rel="alternate" type="text/html" href="https://microformats.org/wiki/index.php?title=simple-bsd-license&amp;diff=4456"/>
		<updated>2006-01-27T02:40:22Z</updated>

		<summary type="html">&lt;p&gt;Maciej: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met&lt;br /&gt;
&lt;br /&gt;
1. Redistributions of source code must retain the above copyright notice, and either this list of conditions and the following disclaimer or a link to an copy of the license, e.g. http://microformats.org/wiki?title=simple-bsd-license.&lt;br /&gt;
&lt;br /&gt;
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.&lt;br /&gt;
&lt;br /&gt;
THIS SOFTWARE IS PROVIDED BY THE AUTHOR &amp;quot;AS IS&amp;quot; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR&lt;br /&gt;
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.&lt;/div&gt;</summary>
		<author><name>Maciej</name></author>
	</entry>
	<entry>
		<id>https://microformats.org/wiki/index.php?title=simple-bsd-license&amp;diff=4455</id>
		<title>simple-bsd-license</title>
		<link rel="alternate" type="text/html" href="https://microformats.org/wiki/index.php?title=simple-bsd-license&amp;diff=4455"/>
		<updated>2006-01-27T02:39:01Z</updated>

		<summary type="html">&lt;p&gt;Maciej: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:&lt;br /&gt;
&lt;br /&gt;
 1. Redistributions of source code must retain the above copyright notice, and either this list of conditions and the following disclaimer or a link to an copy of the license, e.g. http://microformats.org/wiki?title=simple-bsd-license.&lt;br /&gt;
 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.&lt;br /&gt;
&lt;br /&gt;
THIS SOFTWARE IS PROVIDED BY THE AUTHOR &amp;quot;AS IS&amp;quot; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR&lt;br /&gt;
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.&lt;/div&gt;</summary>
		<author><name>Maciej</name></author>
	</entry>
	<entry>
		<id>https://microformats.org/wiki/index.php?title=simple-bsd-license&amp;diff=4454</id>
		<title>simple-bsd-license</title>
		<link rel="alternate" type="text/html" href="https://microformats.org/wiki/index.php?title=simple-bsd-license&amp;diff=4454"/>
		<updated>2006-01-27T02:37:38Z</updated>

		<summary type="html">&lt;p&gt;Maciej: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:&lt;br /&gt;
&lt;br /&gt;
 1. Redistributions of source code must retain the above copyright notice, and either this list of conditions and the following disclaimer or a link to an copy of the license, e.g. http://microformats.org/wiki?title=simple-bsd-license.&lt;br /&gt;
 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.&lt;br /&gt;
&lt;br /&gt;
THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR&lt;br /&gt;
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.&lt;/div&gt;</summary>
		<author><name>Maciej</name></author>
	</entry>
	<entry>
		<id>https://microformats.org/wiki/index.php?title=simple-bsd-license&amp;diff=4453</id>
		<title>simple-bsd-license</title>
		<link rel="alternate" type="text/html" href="https://microformats.org/wiki/index.php?title=simple-bsd-license&amp;diff=4453"/>
		<updated>2006-01-27T02:36:08Z</updated>

		<summary type="html">&lt;p&gt;Maciej: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Redistribution and use in source and binary forms, with or without&lt;br /&gt;
modification, are permitted provided that the following conditions&lt;br /&gt;
are met:&lt;br /&gt;
&lt;br /&gt;
1. Redistributions of source code must retain the above copyright&lt;br /&gt;
   notice, and either this list of conditions and the following disclaimer&lt;br /&gt;
   or a link .&lt;br /&gt;
2. Redistributions in binary form must reproduce the above copyright&lt;br /&gt;
   notice, this list of conditions and the following disclaimer in the&lt;br /&gt;
   documentation and/or other materials provided with the distribution.&lt;br /&gt;
&lt;br /&gt;
THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY&lt;br /&gt;
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE&lt;br /&gt;
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR&lt;br /&gt;
PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR&lt;br /&gt;
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,&lt;br /&gt;
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,&lt;br /&gt;
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR&lt;br /&gt;
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY&lt;br /&gt;
OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT&lt;br /&gt;
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE&lt;br /&gt;
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.&lt;/div&gt;</summary>
		<author><name>Maciej</name></author>
	</entry>
	<entry>
		<id>https://microformats.org/wiki/index.php?title=simple-bsd-license&amp;diff=4452</id>
		<title>simple-bsd-license</title>
		<link rel="alternate" type="text/html" href="https://microformats.org/wiki/index.php?title=simple-bsd-license&amp;diff=4452"/>
		<updated>2006-01-27T02:35:54Z</updated>

		<summary type="html">&lt;p&gt;Maciej: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Redistribution and use in source and binary forms, with or without&lt;br /&gt;
modification, are permitted provided that the following conditions&lt;br /&gt;
are met:&lt;br /&gt;
\1. Redistributions of source code must retain the above copyright&lt;br /&gt;
   notice, and either this list of conditions and the following disclaimer&lt;br /&gt;
   or a link .&lt;br /&gt;
\2. Redistributions in binary form must reproduce the above copyright&lt;br /&gt;
   notice, this list of conditions and the following disclaimer in the&lt;br /&gt;
   documentation and/or other materials provided with the distribution.&lt;br /&gt;
&lt;br /&gt;
THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY&lt;br /&gt;
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE&lt;br /&gt;
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR&lt;br /&gt;
PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR&lt;br /&gt;
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,&lt;br /&gt;
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,&lt;br /&gt;
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR&lt;br /&gt;
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY&lt;br /&gt;
OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT&lt;br /&gt;
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE&lt;br /&gt;
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.&lt;/div&gt;</summary>
		<author><name>Maciej</name></author>
	</entry>
	<entry>
		<id>https://microformats.org/wiki/index.php?title=simple-bsd-license&amp;diff=4451</id>
		<title>simple-bsd-license</title>
		<link rel="alternate" type="text/html" href="https://microformats.org/wiki/index.php?title=simple-bsd-license&amp;diff=4451"/>
		<updated>2006-01-27T02:35:42Z</updated>

		<summary type="html">&lt;p&gt;Maciej: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Redistribution and use in source and binary forms, with or without&lt;br /&gt;
modification, are permitted provided that the following conditions&lt;br /&gt;
are met:&lt;br /&gt;
1. Redistributions of source code must retain the above copyright&lt;br /&gt;
   notice, and either this list of conditions and the following disclaimer&lt;br /&gt;
   or a link .&lt;br /&gt;
2. Redistributions in binary form must reproduce the above copyright&lt;br /&gt;
   notice, this list of conditions and the following disclaimer in the&lt;br /&gt;
   documentation and/or other materials provided with the distribution.&lt;br /&gt;
&lt;br /&gt;
THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY&lt;br /&gt;
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE&lt;br /&gt;
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR&lt;br /&gt;
PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR&lt;br /&gt;
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,&lt;br /&gt;
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,&lt;br /&gt;
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR&lt;br /&gt;
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY&lt;br /&gt;
OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT&lt;br /&gt;
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE&lt;br /&gt;
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.&lt;/div&gt;</summary>
		<author><name>Maciej</name></author>
	</entry>
</feed>