<html>
<head>
<style><!--
body {background-color:#ffffff;}
.file {border:1px solid #eeeeee;margin-top:1em;margin-bottom:1em;}
.pathname {font-family:monospace; float:right;}
.fileheader {margin-bottom:.5em;}
.diff {margin:0;}
.tasklist {padding:4px;border:1px dashed #000000;margin-top:1em;}
.tasklist ul {margin-top:0;margin-bottom:0;}
tr.alt {background-color:#eeeeee}
#added {background-color:#ddffdd;}
#addedchars {background-color:#99ff99;font-weight:bolder;}
tr.alt #added {background-color:#ccf7cc;}
#removed {background-color:#ffdddd;}
#removedchars {background-color:#ff9999;font-weight:bolder;}
tr.alt #removed {background-color:#f7cccc;}
#info {color:#888888;}
#context {background-color:#eeeeee;}
td {padding-left:.3em;padding-right:.3em;}
tr.head {border-bottom-width:1px;border-bottom-style:solid;}
tr.head td {padding:0;padding-top:.2em;}
.task {background-color:#ffff00;}
.comment {padding:4px;border:1px dashed #000000;background-color:#ffffdd}
.error {color:red;}
hr {border-width:0px;height:2px;background:black;}
--></style>
</head>
<body>
<table cellspacing="0" cellpadding="0" border="0" rules="cols">
<tr class="head"><td colspan="4">Commit in <b><tt>trunk/as2api/output/html</tt></b><span id="info"> on MAIN</span></td></tr>
<tr><td><tt><a href="#file1">default_css.rb</a></tt></td><td align="right" id="added">+10</td><td align="right" id="removed">-12</td><td nowrap="nowrap" align="center">268 -> 269</td></tr>
<tr class="alt"><td><tt><a href="#file2">html_framework.rb</a></tt></td><td align="right" id="added">+4</td><td align="right" id="removed">-4</td><td nowrap="nowrap" align="center">268 -> 269</td></tr>
<tr><td><tt><a href="#file3">quicknav.rb</a></tt></td><td align="right" id="added">+47</td><td align="right" id="removed">-10</td><td nowrap="nowrap" align="center">268 -> 269</td></tr>
<tr><td></td><td align="right" id="added">+61</td><td align="right" id="removed">-26</td><td></td></tr>
</table>
<small id="info">3 modified files</small><br />
<pre class="comment">
Attempting to get the Quicknav DHTML working in IE. Looks much better now.
</pre>
<hr /><a name="file1" /><div class="file">
<span class="pathname">trunk/as2api/output/html</span><br />
<div class="fileheader"><big><b>default_css.rb</b></big> <small id="info">268 -> 269</small></div>
<pre class="diff"><small id="info">--- trunk/as2api/output/html/default_css.rb        2006-01-09 07:40:21 UTC (rev 268)
+++ trunk/as2api/output/html/default_css.rb        2006-01-09 07:45:34 UTC (rev 269)
@@ -7,11 +7,12 @@
</small></pre><pre class="diff" id="context">
write_file(output_dir, name) do |out|
out.print <<-HERE
</pre><pre class="diff" id="removed">-.quicknav > span {
</pre><pre class="diff" id="added">+.quicknav span.ui {
</pre><pre class="diff" id="context">         float: right;
}
#quicknav_menu {
</pre><pre class="diff" id="added">+        list-style-type: none;
</pre><pre class="diff" id="context">         border: 1px solid black;
        position: absolute;
        font-size: normal;
</pre><pre class="diff"><small id="info">@@ -34,6 +35,7 @@
</small></pre><pre class="diff" id="context">         font-family: sans-serif;
        white-space: nowrap;
        padding: 0.1em 0;
</pre><pre class="diff" id="added">+        margin: 0;
</pre><pre class="diff" id="context">         color: black;
}
</pre><pre class="diff"><small id="info">@@ -92,8 +94,9 @@
</small></pre><pre class="diff" id="context">         font-weight: bolder;
        display: inline;
}
</pre><pre class="diff" id="removed">-.main_nav li <span id="removedchars">*</span> {
</pre><pre class="diff" id="added">+.main_nav li <span id="addedchars">.button</span> {
</pre><pre class="diff" id="context">         padding: 0 7px;
</pre><pre class="diff" id="added">+        height: 1em; /* hack to get padding working in IE */
</pre><pre class="diff" id="context"> }
.nav_current {
        background-color: #00008B;
</pre><pre class="diff"><small id="info">@@ -154,10 +157,6 @@
</small></pre><pre class="diff" id="context">         text-align: center;
}
</pre><pre class="diff" id="removed">-.type_hierachy > ul {
-        padding-left: 0;
-        margin-left: 0;
-}
</pre><pre class="diff" id="context"> .type_hierachy li {
        list-style: none;
}
</pre><pre class="diff"><small id="info">@@ -191,11 +190,12 @@
</small></pre><pre class="diff" id="context"> write_file(output_dir, name) do |out|
out.print <<-HERE
/* apologies to the authors of NaturalDocs */
</pre><pre class="diff" id="removed">-.quicknav > span {
</pre><pre class="diff" id="added">+.quicknav span.ui {
</pre><pre class="diff" id="context">         float: right;
}
#quicknav_menu {
</pre><pre class="diff" id="added">+        list-style-type: none;
</pre><pre class="diff" id="context">         border: 1px solid black;
        position: absolute;
        font-size: normal;
</pre><pre class="diff"><small id="info">@@ -218,6 +218,7 @@
</small></pre><pre class="diff" id="context">         font-family: sans-serif;
        white-space: nowrap;
        padding: 0.1em 0;
</pre><pre class="diff" id="added">+        margin: 0;
</pre><pre class="diff" id="context">         color: black;
}
.quicknav #quicknav_menu a {
</pre><pre class="diff"><small id="info">@@ -328,9 +329,10 @@
</small></pre><pre class="diff" id="context">         font-weight: bolder;
        display: inline;
}
</pre><pre class="diff" id="removed">-.main_nav li <span id="removedchars">*</span> {
</pre><pre class="diff" id="added">+.main_nav li <span id="addedchars">.button</span> {
</pre><pre class="diff" id="context">         padding: 4px;
        color: #FFFFFF;
</pre><pre class="diff" id="added">+        height: 1em; /* hack to get padding working in IE */
</pre><pre class="diff" id="context"> }
.nav_current {
        background-color: #00008B;
</pre><pre class="diff"><small id="info">@@ -381,10 +383,6 @@
</small></pre><pre class="diff" id="context">         text-align: center;
}
</pre><pre class="diff" id="removed">-.type_hierachy > ul {
-        padding-left: 0;
-        margin-left: 0;
-}
</pre><pre class="diff" id="context"> .type_hierachy li {
        list-style: none;
}
</pre></div>
<hr /><a name="file2" /><div class="file">
<span class="pathname">trunk/as2api/output/html</span><br />
<div class="fileheader"><big><b>html_framework.rb</b></big> <small id="info">268 -> 269</small></div>
<pre class="diff"><small id="info">--- trunk/as2api/output/html/html_framework.rb        2006-01-09 07:40:21 UTC (rev 268)
+++ trunk/as2api/output/html/html_framework.rb        2006-01-09 07:45:34 UTC (rev 269)
@@ -405,17 +405,17 @@
</small></pre><pre class="diff" id="context">         link = nav.build_for_page(self)
        html_li do
         if link.is_current
</pre><pre class="diff" id="removed">-         html_span(link.content, {"class"=>"nav_current"})
</pre><pre class="diff" id="added">+         html_span(link.content, {"class"=>"<span id="addedchars">button </span>nav_current"})
</pre><pre class="diff" id="context">          else
         if link.href
</pre><pre class="diff" id="removed">-         attrs = {"href"=>link.href}
</pre><pre class="diff" id="added">+         attrs = {"href"=>link.href, "class"=>"button"}
</pre><pre class="diff" id="context">          attrs["title"] = link.title if link.title
         html_a(link.content, attrs)
         else
         if link.title
</pre><pre class="diff" id="removed">-                html_span(link.content, {"title"=>link.title})
</pre><pre class="diff" id="added">+                html_span(link.content, {"title"=>link.title<span id="addedchars">, "class"=>"button"</span>})
</pre><pre class="diff" id="context">          else
</pre><pre class="diff" id="removed">-                html_span(link.content)
</pre><pre class="diff" id="added">+                html_span(link.content, {"class"=>"button"})
</pre><pre class="diff" id="context">          end
         end
         end
</pre></div>
<hr /><a name="file3" /><div class="file">
<span class="pathname">trunk/as2api/output/html</span><br />
<div class="fileheader"><big><b>quicknav.rb</b></big> <small id="info">268 -> 269</small></div>
<pre class="diff"><small id="info">--- trunk/as2api/output/html/quicknav.rb        2006-01-09 07:40:21 UTC (rev 268)
+++ trunk/as2api/output/html/quicknav.rb        2006-01-09 07:45:34 UTC (rev 269)
@@ -7,7 +7,7 @@
</small></pre><pre class="diff" id="context">
write_file(output_dir, name) do |out|
out.print <<-HERE
</pre><pre class="diff" id="removed">-var quicknavDoc;
</pre><pre class="diff" id="added">+var quicknavDoc<span id="addedchars"> = null</span>;
</pre><pre class="diff" id="context">
function loadData() {
        // silently fails to load anything if the required DOM APIs
</pre><pre class="diff"><small id="info">@@ -18,15 +18,45 @@
</small></pre><pre class="diff" id="context">                 if (quicknavDoc.load) {
                        quicknavDoc.load(adjustHref("quicknav.xml"));
                }
</pre><pre class="diff" id="added">+        } else if (ActiveXObject) {
+                var xmlhttp = null;
+                try {
+                        xmlhttp = new ActiveXObject('Msxml2.XMLHTTP');
+                } catch (e) {
+                        try {
+                                xmlhttp = new ActiveXObject('Microsoft.XMLHTTP');
+                        } catch (e) {
+                                return; // give up
+                        }
+                }
+                xmlhttp.onreadystatechange = function() {
+                        if (quicknavDoc != null) {
+                                return;
+                        }
+                        if (xmlhttp.readyState==4) {
+                                if (xmlhttp.status==200) {
+                                        quicknavDoc = xmlhttp.responseXML;
+                                        attachQuicknav();
+                                } else {
+                                        alert("quicknav: "+statusText);
+                                }
+                        }
+                };
+                xmlhttp.open("GET", adjustHref("quicknav.xml"));
+                xmlhttp.send("");
</pre><pre class="diff" id="context">         }
}
</pre><pre class="diff" id="removed">-function attachQuicknav(event) {
-        if (quicknavDoc.documentElement == null) { return; }
</pre><pre class="diff" id="added">+function attachQuicknav() {
+        if (quicknavDoc.documentElement == null) {
+                alert("quicknav: no doc");
+                return;
+        }
</pre><pre class="diff" id="context">         var main_nav = document.getElementById("main_nav");
        var li = document.createElement("li");
</pre><pre class="diff" id="added">+        li.className = "quicknav";
</pre><pre class="diff" id="context">         var span = document.createElement("span");
</pre><pre class="diff" id="removed">-        li.className = "quicknav";
</pre><pre class="diff" id="added">+        span.className = "ui";
</pre><pre class="diff" id="context">         main_nav.insertBefore(li, main_nav.firstChild);
        li.appendChild(span);
        // setup quicknav input box,
</pre><pre class="diff"><small id="info">@@ -36,10 +66,10 @@
</small></pre><pre class="diff" id="context">         span.appendChild(label);
        var input = document.createElement("input");
        input.id = "quicknav_input"
</pre><pre class="diff" id="removed">-        input.setAttribute("autocomplete", "off");
-        input.setAttribute("onfocus", "quicknavFocus();");
-        input.setAttribute("onkeyup", "quicknavKeyup();");
-        input.setAttribute("onblur", "quicknavBlur();");
</pre><pre class="diff" id="added">+        input.autocomplete = "off";
+        input.onfocus = quicknavFocus;
+        input.onkeyup = quicknavKeyup;
+        input.onblur = quicknavBlur;
</pre><pre class="diff" id="context">         span.appendChild(input);
        var menu = document.createElement("ul");
        menu.id = "quicknav_menu";
</pre><pre class="diff"><small id="info">@@ -80,14 +110,21 @@
</small></pre><pre class="diff" id="context">         var li = document.createElement("li");
        var a = document.createElement("a");
        li.appendChild(a);
</pre><pre class="diff" id="removed">-        var anchorText = sourceNode.firstChild.firstChild.nodeValue;
</pre><pre class="diff" id="added">+        var sourceLink = sourceNode.firstChild;
+        var anchorText = sourceLink.firstChild.nodeValue;
</pre><pre class="diff" id="context">         a.appendChild(document.createTextNode(anchorText));
</pre><pre class="diff" id="removed">-        var href = source<span id="removedchars">Node.firstChild</span>.getAttribute("href");
</pre><pre class="diff" id="added">+        var href = source<span id="addedchars">Link</span>.getAttribute("href");
</pre><pre class="diff" id="context">         href = adjustHref(href);
        a.setAttribute("href", href);
</pre><pre class="diff" id="added">+        a.setAttribute("title", sourceLink.getAttribute("title"));
</pre><pre class="diff" id="context">         return li;
}
</pre><pre class="diff" id="added">+/**
+ * Adjusts the given path, which is relative to the 'base document directory',
+ * returning a path relative to the current page instead, and therefore useful
+ * as the deftination of a hyperlink within this page.
+ */
</pre><pre class="diff" id="context"> function adjustHref(href) {
        return document.quicknavBasePath + "/" + href;
}
</pre></div>
<center><small><a href="http://www.badgers-in-foil.co.uk/projects/cvsspam/" title="commit -> email">CVSspam</a> 0.2.11</small></center>
</body></html>