Skip to content

Commit abc1e3f

Browse files
Markup updates.
1 parent 547d84e commit abc1e3f

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

index.html

+15-5
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@
7474
border: 1px #008 solid;
7575
color:#00f;
7676
background-color:#ccf;
77+
cursor: pointer;
7778
}
7879
#toc ol {
7980
margin: 0;
@@ -569,7 +570,7 @@ <h2 id=build-cli>Building the tidy command-line tool</h2>
569570

570571
<h2 id=build-library>Building the libtidy shared library</h2>
571572
<p>For Linux/BSD/OSX platforms, you can build and install the
572-
<code>tidylib</code> shared library (for use in building other
573+
<code>tidylib</code> shared library (for integrating Tidy into other
573574
applications) from the source code using the following steps.</p>
574575

575576
<ol>
@@ -587,15 +588,15 @@ <h2 id=acks>Acknowledgements</h2>
587588
original version of Tidy.
588589

589590
<div id=toc-button style="">
590-
<a class=button href="#" onclick="
591-
javascript:document.getElementById('toc').className = 'show';
591+
<a class=button onclick="
592+
document.getElementById('toc').className = 'show';
592593
document.getElementById('toc-button').className = 'hide';
593594
document.getElementById('quickref-button').className = 'hide';"
594595
>Show TOC</a>
595596
</div>
596597
<div id=toc class=hide>
597-
<a class=button href="#" onclick="
598-
javascript:document.getElementById('toc').className = 'hide';
598+
<a class=button onclick="
599+
document.getElementById('toc').className = 'hide';
599600
document.getElementById('toc-button').className = 'show';
600601
document.getElementById('quickref-button').className = 'show';"
601602
>Close</a>
@@ -625,3 +626,12 @@ <h2 id=acks>Acknowledgements</h2>
625626
<div id=quickref-button style="">
626627
<a class=button href="quickref.html">QuickRef</a>
627628
</div>
629+
<script>
630+
document.addEventListener("mouseup", function() {
631+
if (document.getElementById('toc').className = 'show') {
632+
document.getElementById('toc').className = 'hide';
633+
document.getElementById('toc-button').className = 'show';
634+
document.getElementById('quickref-button').className = 'show';
635+
}
636+
}, false)
637+
</script>

0 commit comments

Comments
 (0)