mirror of
https://expo.survex.com/repositories/expoweb/.git/
synced 2024-11-22 23:31:56 +00:00
458 lines
23 KiB
HTML
458 lines
23 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Expo Systems - To-Do List</title>
|
|
<meta charset="utf-8">
|
|
<meta name="keywords" content="NOEDIT">
|
|
</head>
|
|
<body>
|
|
<h1>Expo To-Do List</h1>
|
|
<link rel="stylesheet" type="text/css" href="todo-styles.css" />
|
|
<button onclick="window.location.href = 'todo.html_edit';">Edit this to-do list</button>
|
|
<!--
|
|
<button onclick="window.location.href = 'x-todo.html_edit';">Update this to-do list</button>
|
|
-->
|
|
<!--
|
|
<label for="toggle-1">Toggle visibility of all sub-items</label>
|
|
<input type="checkbox" id="toggle-1">
|
|
-->
|
|
<!-- ------------------- Don't touch anything above this line --------------------------->
|
|
|
|
|
|
<h2>How this works</h2>
|
|
|
|
<p><b>Click on a sub-heading to reveal</b> the individual to-do items. Click again to hide.<br />
|
|
If a heading is in italics, then there are hidden items.
|
|
<p><b>Click on the main "How this works" heading</b> to toggle reveal/hide <b>everything.</b>
|
|
<p>Printing this page uses a much smaller font. Complain to <a href="mailto:expo-tech@lists.wookware.org">the nerd list</a> if you don't like this behaviour.
|
|
|
|
<p>Edit this page by clicking on the big blue button. It uses the same "Edit this page" function that you may have used before. Just be careful not to touch the code at the top and bottom of the page.
|
|
|
|
<p>We are working on a more capable and easier-to-use system (see <a href="x-todo.html">x-todo.html</a>) which will mimic how <a href="https://github.com/CaveSurveying/CUCCexposurveyissues/issues">GitHub Issues</a> do this sort of thing.
|
|
|
|
|
|
<h3>Process Documentation</h3>
|
|
<dl>
|
|
<dt><!--2020-03-26 psargent-->Wallets and new-cave</dt>
|
|
|
|
<dd><!--2020-03-26 psargent-->Explain (in the wallets process) how to view the surveys
|
|
online so that <br> (1) you can see an example of how to do your new one,
|
|
and <br> (2) so that you can check that you have done it properly when you
|
|
have finished.</dd>
|
|
<dd><!--2020-03-26 psargent-->Explain how to link a new cave into the other caves in
|
|
troggle filesystem</dd>
|
|
<dd><!--2020-03-26 psargent-->Explain how to add photos with the correct URL format to sub-HTML files attached to New Caves</dd>
|
|
<dt><!--2020-04-13 psargent-->svx check</dt>
|
|
<dd>explain command line to run on newly typed survex file to check for format errors '$cavern xxxx.svx'
|
|
<dd>explain when to use svxtrace.py <a href="troggle/scriptscurrent.html">current scripts</a>
|
|
<dt><!--2020-04-13 psargent-->QMs check</dt>
|
|
<dd>explain when to use svx2qm.py -> qms.csv-> tablize-qms.pl <a href="troggle/scriptscurrent.html">current scripts</a>
|
|
<dd>explain when to use find-dead-qms.py and qmreader.pl <a href="troggle/scriptscurrent.html">current scripts</a>
|
|
</dl>
|
|
|
|
<h3>Surveys data entry</h3>
|
|
<dl>
|
|
<dt><!--2020-04-13 psargent-->QMs check</dt>
|
|
<dd>Collect together the old "to do" and "readme" notes and put them in a standard place: expoweb/[year]/TODO.html(with self-edit instructionslike this page)
|
|
<dt>Write code to automatically extract ref info about wallets from tunnel xml files
|
|
<dd><!--2020-04-03 psargent-->This will replace :drawings:chk-xml.txt as used by :drawings:check-xml.sh
|
|
<dd><!--2020-04-03 psargent-->Do similar for Therion files when people start using #REF comments
|
|
|
|
<dt><!--2020-03-26 psargent-->2019 surveyscans
|
|
|
|
<dd><!--2020-03-26 psargent-->edit all the content.json</dd>
|
|
<dd><!--2020-03-26 psargent-->try to autocomplete the content.json by parsing .svx files</dd>
|
|
<dd><!--2020-03-26 psargent-->Put personal names into canonical form</dd>
|
|
<dt>2014 contents.json
|
|
<dd><!--2020-04-03 psargent-->parse all the svx files to extract people, dates & svx references
|
|
</dl>
|
|
|
|
|
|
<h3>Logbook fettling</h3>
|
|
<dl>
|
|
<dt>2019 Logbook</dt>
|
|
<dd>
|
|
transcribe the rest of those UKcaving blog entries into expoweb/years/2019/logbook.html</dd>
|
|
<dd><!--2020-04-03 psargent-->
|
|
copy the photos from the UKCaving blog into expofiles/photos/2019/<MyName>/ -- in fact many of those photos are already there</dd>
|
|
<dd><!--2020-04-03 psargent-->edit in the links to those photos in the right place in 2019/logbook.html</dd>
|
|
|
|
<dt>Garlic cave
|
|
<dd> edit logbook entries 2018, 2019 to link to extensive photos of Garlic cave area {Withnall 2018} , {Becka 2019}
|
|
<dt>Past logbooks - missing images?
|
|
<dd><!--2020-04-03 psargent-->Which previous years HTML logbooks are missing images extracted from scanned PDF copies of the logbooks?
|
|
|
|
<dt>imagemagick convert
|
|
<dd><!--2020-04-03 psargent-->Not working for PDFs on current version of xubuntu ! Fix & document. Also not working on WSL ubuntu. Needed to work with logbook images easily.
|
|
|
|
<dt>2018 Logbook</dt>
|
|
<dd>Check Natalie Uomini's typed entries and extensive photos are minimized and linked in properly to the HTML logbook
|
|
|
|
|
|
<dt>Add missing images to logbooks</dt>
|
|
<dd>
|
|
2000, 2008, 2009, 2011</dd>
|
|
<dd>
|
|
fix corrupted image in 2001 log</dd>
|
|
|
|
<dt>2011 logbook:</dt>
|
|
<dd>type up via-ferrate & bolt-testing writeups (In paper book, not in scan or HTML)</dd>
|
|
|
|
<dt>200? logbook:</dt>
|
|
<dd>
|
|
Type up "list of GPS locations still to type"</dd>
|
|
|
|
</dl>
|
|
|
|
<h3>Handbook</h3>
|
|
<dl>
|
|
|
|
<dt><!--2020-04-11 psargent-->Desperately needs Navigation - Location Context, Situational Awareness
|
|
<dd><!--2020-04-11 psargent-->No overall view of what there is: need a user-friendly diagrammatic overview <a href="https://en.wikipedia.org/wiki/Site_map">sitemap</a>. There are 4,869 files in :expoweb:</dd>
|
|
<dd><!--2020-04-11 psargent-->Not fixed by menus - breadcrumbs needed?</dd>
|
|
<dd><!--2020-04-11 psargent-->Diagrams of major sections: survey handbook, rigging handbook, computing handbook, Areas, cave data..</dd>
|
|
<dd><!--2020-04-11 psargent-->Chase Airoa to help fix <a href="../troggle/menudesign.html">the menus for phones</a></dd>
|
|
<dd><!--2020-04-11 psargent-->Look at <a href="https://www.gov.uk/guidance/government-design-principles">gov.uk guidelines</a> for inspiration</dd>
|
|
<dt><!--2020-04-11 psargent-->When git migration done
|
|
<dd>Edit out all mercurial
|
|
<dd>Split the TortoiseHg/PuTTy documentationa nd retain only PuTTy
|
|
<dt><!--2020-04-11 psargent-->Wookey Overview presentation
|
|
<dd>extract content from <a href="http://wookware.org/talks/expocomputer/#/10">Troggle</a> which does not render properly and extract the HTML not in slide format - correcting things now outdated.
|
|
|
|
</dl>
|
|
<h3>Photos</h3>
|
|
<dl>
|
|
|
|
<dt><!--2020-04-03 psargent-->Fix the BINS package
|
|
<dd><!--2020-04-03 psargent-->set up git on the BINS software? Fix base url sautret.org</dd>
|
|
<dd><!--2020-04-03 psargent-->set up a cron / Makefile job to run BINS</dd>
|
|
<dd><!--2020-04-03 psargent-->why is 'updatephotos' script in expofiles? </dd>
|
|
<dd>Document the ~expo/webphotos/ directory and how it works
|
|
<dd>Why does expofiles/photos/xml/ get created containing all the generated xml files? Fix this.
|
|
|
|
|
|
</dl>
|
|
|
|
<h3>System Documentation</h3>
|
|
<dl><!-- 2020-04-11 psargent -->
|
|
<dt><!--2020-04-11 psargent-->Document how we generate the SMK overall lengths and stats</dt>
|
|
<dd><!--2020-04-11 psargent-->scripts and manual actions in cavern
|
|
|
|
|
|
|
|
<dt><!--2020-03-26 psargent-->Troggle architecture</dt>
|
|
|
|
<dd><!--2020-03-26 psargent-->Handbook: add more to the new troggle architecture documentation. For future system maintainers</dd>
|
|
<dd><!--2020-04-10 psargent-->Regenerate the diagram of the tables in the database & document</dd>
|
|
<dd><!--2020-04-10 psargent-->Describe the parsing/import procedures so non-nerds can do it</dd>
|
|
<dd><!--2020-03-26 psargent-->Copy [some of] the .wiki material into the documentation somewhere</dd>
|
|
|
|
|
|
<dt><!--2020-03-26 psargent-->Surveyscans</dt>
|
|
|
|
<dd><!--2020-03-26 psargent-->explain where the image files are referenced from: svx, tunnel/therion, and </dd>
|
|
<dd>why there are so many broken links</dd>
|
|
<dt>Apache & MySQL configuration
|
|
<dd><!--2020-04-03 psargent-->DOCUMENT How to set up a server
|
|
<dd><!--2020-04-10 psargent-->Explain why Docker containers can be a maintenance nightmare
|
|
<dt>non-troggle scripts
|
|
<dd><!--2020-04-03 psargent-->DOCUMENT them all - have we got <a href="../troggle/otherscripts.html">a full list</a>?
|
|
|
|
|
|
</dl>
|
|
|
|
<h3>Troggle</h3>
|
|
<dl>
|
|
<dt>Better import error messages
|
|
<dd><!--2020-04-03 psargent-->REPORT if import surveyscan file failure
|
|
<dd><!--2020-04-03 psargent-->Why are so many surveyscan foolder missing after import?
|
|
<dd><!--2020-04-03 psargent-->WHY are total lengths of surveyed cave different between expo server and WSL server for 2019 and a few other years only ?
|
|
<dt><!-- 2020-04-11 psargent -->NOEDIT flag
|
|
<dd><!-- 2020-04-11 psargent -->Describe how this is implemented using <meta name="keywords" content="NOEDIT">
|
|
|
|
<dt>Logbook data model: unfilled fields?
|
|
<dd><!--2020-04-03 psargent-->'cave' of location field missing on nearly all logbook entroies. Missing from logbook templates. Where is this used and how can we fill it it in? Is it useful?
|
|
</dl>
|
|
|
|
|
|
<h3>Expo Server</h3>
|
|
<dl>
|
|
<dt><!--2020-03-26 psargent--> document directory structure
|
|
|
|
<dd><!--2020-04-03 psargent-->as per Julian's GitHub list - then close that issue</dd>
|
|
<dt>permissions
|
|
|
|
<dd><!--2020-04-03 psargent-->do we need a cron job or has the group membership fix fixed it ? either way, document it.
|
|
</dd>
|
|
</dl>
|
|
|
|
<h3><font color="fuchsia">Tackle Store Records</font></h3>
|
|
<dl>
|
|
<dt>No authoritative list of where the expo paper records are!
|
|
<dd><!--2020-04-03 psargent-->NO expo paperwork at all prior to 2008 in Tackle Store - where is it ?
|
|
<dd><!--2020-04-03 psargent-->FIND where all the wallet binders are, and the logbooks.
|
|
< <dd><!--2020-04-03 psargent--> BUY A4 plastic boxes for filing cabinet for logbooks getting damp there.
|
|
<dd>2017, 2018, 2019 wallet binders are in Philip S.'s house.
|
|
</dl>
|
|
|
|
<h3>
|
|
<font color="fuchsia">This to-do-list gadget itself</font>
|
|
</h3>
|
|
<dl>
|
|
<dt>Status
|
|
<dd>Try the <a href="x-todo.html"><em>Experimental</em> to-do list</a> - no extra display capabilities yet.
|
|
<dd>Fix the "click twice" on startup. Make it only click once to change display state of the DT tag
|
|
|
|
<dt><!--2020-03-26 psargent-->Eventual aim
|
|
|
|
<dd><!--2020-03-26 psargent-->to replace GitHub <a href="https://github.com/CaveSurveying/CUCCexposurveyissues/issues">
|
|
CUCCexposurveyissues</a> for non-tunnel, non-GIS issues.</dd>
|
|
<dd><!--2020-03-26 psargent-->We need two of these: <br>1.for expo systems work (troggle & scripts) - the current priority as we have nowhere currently that Wookey is willing to use
|
|
<br>2.for survey data progress/issues (though troggle itself can be used for some of this if cleaned up a bit)
|
|
|
|
</dd>
|
|
|
|
<dt><!--2020-03-26 psargent-->Try to automate simple functions in javascript
|
|
|
|
<dd><!--2020-03-26 psargent-->to control this document
|
|
in-place (tick, delete) instead of using the <a
|
|
href="https://www.tiny.cloud/docs/general-configuration-guide/use-tinymce-inline/">
|
|
tinymce</a> HTML editor in Django</dd>
|
|
<dd><!--2020-03-26 psargent-->Maybe restructure whole page as JSON and use
|
|
javascript editor to create (edit), re-order and demote items. </dd>
|
|
<dd><!--2020-03-26 psargent-->if using tinymcs, use the INLINE mode. </dd>
|
|
<dd><!--2020-03-26 psargent-->Implement comments on an issue, mimicking GitHub issues wiki</dd>
|
|
<dd><!--2020-03-26 psargent-->Use javascript to skip over the _edit page and submit changes
|
|
direct to server when updating. Needs direct POST and include the javascript in the posted content.</dd>
|
|
<dd><!--2020-03-26 psargent-->checkboxes so that items can be ticked (which also does strike-through)</dd>
|
|
<dd><!--2020-04-03 psargent-->promotion/demotion options?</dd>
|
|
<dd><!--2020-03-26 psargent-->bin icon to delete an item? Better to have an archive process.</dd>
|
|
<dt>Local WSL server
|
|
<dd><!--2020-04-03 psargent-->Why is it using recuced-capability tinymce, a paths problem ?
|
|
<dt>Italics management
|
|
<dd><!--2020-04-03 psargent-->Hide ALL DD if any Heading clicked.
|
|
<dd><!--2020-04-03 psargent-->Put DL into italics when *any* DD is hidden
|
|
|
|
|
|
</dl>
|
|
<h3>Cave Updating</h3>
|
|
<dl>
|
|
<dt><!--2020-04-12 wookey-->1623/251</dt>
|
|
<dd>Put in tunnel plan instead of scan of drawn-up notes.</dd>
|
|
<dd>Draw up elevation (therion)</dd>
|
|
|
|
<dt><!--2020-04-17 psargent-->All copied verbatim from :expoweb:/1623/264/cavedescription2016<br> which has now been deleted.
|
|
|
|
<dd><pre>
|
|
tightyorkshireman
|
|
|
|
person size phreatic tube, left passage emerges at pitch head, right passage becomes too tight.
|
|
|
|
rabbitwarrens
|
|
Sandy crabwalk turning into a tube parallel to main passage connecting to ein und zwanzig
|
|
|
|
noserock2
|
|
Pitch dropped round the corner from the pitch in noserock. Lots of
|
|
break-down and pitch ended in a choked chamber floor.
|
|
|
|
northhole
|
|
;Small grotty hole in the floor of eis koek aven, which connects through to the nearby large hole down to a circular ice floor.
|
|
|
|
northhole2
|
|
; continuing north from northhole, there is a series of freeclimbable avens going upward, the final survey station is at an awkward but not impassable squeeze. A handline would be very helpful in coming back down. There are also two connections to the frozen north, one is a tube at head height and the other is a small crawl at the start of the choss slope leading to the first aven climb.
|
|
|
|
icecockLC1
|
|
;linking icecock aven to the ice pit in north hole.
|
|
|
|
icecock3
|
|
;small sandy floored tube connecting the icecock bypass to the northhole passage
|
|
|
|
gosserwager2
|
|
linking the bottom of the pitch (name?) to the rift above gosser wager and the pitch down to it, continuing to a boulder choke.
|
|
|
|
gosserwager3
|
|
Rift passage heading South, with a 15m pitch at head. Clean walls, rubble floor. Leads to short down climb before more rift and another pitch series.
|
|
|
|
frozennorth
|
|
climb up between wall and block, aided by two bolts, to enter ice lake
|
|
chamber. Ahead is a large aven with snow slope entering. Just before
|
|
this is a small passage on the right. Climb up into this and follow
|
|
ice inlet until breaks out into large aven and trench area at station
|
|
12. To the south is/was unexplored, but later connected to rest of
|
|
cave. To left is small sanding tube to view into same trench system.
|
|
|
|
frozennorth4
|
|
left juction in frozennorth where there are sandy crawls, comes out on
|
|
a precarious ledge above a big hole. Traversing around this leads to a
|
|
medium sized sandy crawl sloping downwards to a huge chamber with a
|
|
pitch suspected to be the north end of lead 93B from the start of
|
|
expo2015 in turtlehead.
|
|
|
|
frozennorth3:
|
|
A rift passage that loops round and links 2 chambers, with possible leads at the end at station 5.
|
|
|
|
darkartsiv:
|
|
continuing A lead at south end of dark arts, went in then surveyed out but didn't make it all the way to connect up the surveys.
|
|
|
|
cathedralLC2:
|
|
Linking avalancheexperience to cathedralchasm without having to use the dodgy data in chamber90b survey
|
|
|
|
cathedralchasm:
|
|
really fucking huge chamber with many good leads. turns out it was already surveyed as chamber90b be Julian.
|
|
|
|
catherdralchasm2
|
|
Coming fdrom Cathedral Kazam a wet traverse across a pitch David
|
|
dropped a setter down. Passage continues to chamber with a loop coming
|
|
off to the left up and emerging at top of chamber en route. from
|
|
cahmber a rift goes off up right with main passgae continueing
|
|
straight. Also a small lead to left leads round to two small 5m pitchs
|
|
containg crystal formations. A traverse continues on with another
|
|
pitch. Taking the main route from the chamber a sandy passage leads
|
|
past three bat skeletons before becoming a crawl, eventually reaching
|
|
a junction. the larger passge to the left links back to the passge
|
|
near trident junction/ gear dump. This bypass is now the recommended
|
|
wat to reach cathedral kazam.
|
|
|
|
bipedal:
|
|
heading south out of amalgamation you arrive at a large long hole in the floor. Partial completion of traverse over hole, plus exploratin of two small side leads. Left over small rock bridge ends in blind pot. Right hand small passage soon becomes too tight.
|
|
|
|
bipedalpassage5
|
|
short pitch down to large aven chamber with vedose rift in floorway.
|
|
|
|
hiltigalactica
|
|
After dropping initial pitch (Deep Space 9) approx 25m in hilt-a-plenty.
|
|
Long rocky chamber from bottom of pitch to next unexplored pitch.
|
|
Slope near end up left ends after short distance. Small side passage near
|
|
start on right continues to small sandy chamber with several leads.
|
|
From here archway leads onto bouldery ledge in side of very large chamber
|
|
to be explored.
|
|
|
|
</pre>
|
|
</dd>
|
|
|
|
<dt><!--2020-04-17 psargent-->All copied verbatim from :expoweb:/1623/264/trident_to_little_boy.txt<br> which has now been deleted.
|
|
|
|
<dd><pre>
|
|
Cave: Balcony (Far Side to Deep Balcony)
|
|
|
|
Trident is a four way junction- take the left fork to an alcove on the left with an obscure mud floored crawl. This is followed for 10m, improving to walking height. Follow past two bat skeletons then right turn to another bat; continue ~20m. A mud floored junction, turn right to the head of a traverse then pitch after 10m. Straight on would have led you to a noteworthy drippy pitch (Kathedral Chasm).
|
|
|
|
----Honeycomb----
|
|
The traverse to pitch is the beginning of Honeycomb (50m of pitches). This swings to a window, following the rope to a ledge 10m above the floor. From here there's a narrow popcorn-lined climb to the head of a 7m pitch. At the bottom, climb the slope and follow obvious continuation (draught) to the head of 12m pitch. This pitch lands at the top of Hangman (p30), on account of the huge hanging boulder. (The near side of the boulder descends to the way on to the top of Mongol Rally, whereas the far side of the boulder is rigged to swing into a window half way down, Myopia. This is a passage heading north, traversing around a large pit, leading to another pitch which could be traversed around, ?a.)
|
|
|
|
----Nature Calls----
|
|
At the bottom, follow the traverse round to a mudslope. At the top of the mudslope there is an awkward crawl for 10m, soon improves to walking. Follow this passage for 30m. There's a p5, follow the rope to the head of the Mongol Rally (p200).
|
|
|
|
----Mongol Rally and Little Boy----
|
|
Descending this rope lands into a roomy boulder chamber. Walking down the slope between boulders (distinguished path in the mud), leads to a blind pit and big aven. A right turn takes you to stooping height passage, for 50m to the head of Little Boy pitch (20m). There is a significant draught here; follow this. The camp is currently at the base of the pitch (August 2018).
|
|
|
|
----Water collection----
|
|
There are three exits to the chamber.
|
|
1. a short crawl
|
|
2. a climb down on the far side.
|
|
Both lead to the same place and draught.
|
|
|
|
Leave on the far side of the chamber, via a climb down and turn right, climbing down a boulder into pleasent walking passage, very straight and heading north. The floor is soft wet mud. After ~100m a stream trench enters on the right, followed round a corner into a drippy aven. Collect water here, scoop (mug) advisable.
|
|
|
|
|
|
|
|
|
|
(Currently unconnected from Grand Prix)
|
|
|
|
----One direction----
|
|
A little further on from the right turn towards the water cllection, is a muddy ledge on the left hand side (1m from ground). Low crawl continues for 100m in straight line, over three puddles. Stal, but largely unnoteworthy. Ends at the Tsection into clean washed tall rift with sounds of water. Downhill leads to promising a lead, in clean washed rock, sketchy c6, requires rope, heads into rifty stuff. Uphill, includes split (meander) to scoopy loopy junction.
|
|
|
|
----Scoopy Loopy----
|
|
Scoop it until you loop it. Junction has small a lead on right hand wall, to sound of wet rift. Obvious way on cuts left, walking passage heading upwards until low crawl into breakdown chamber. A climb on the right links into Grand Prix.
|
|
|
|
----Nothing to do with you traverse---- (ntdwyt)
|
|
The passage towards the water collection is followed, beyond the turning for water. This leads to a pitch down (Indy Rally) or a traverse left. The traverse left goes ~10m, before muddy walking passage ~30m until it chokes.
|
|
|
|
----Little boy beneath the boulders----
|
|
A short 2m climb through a boulder choke leads to break down chamber directly below grand prix. Qmc at station 8, p10, probably drops level with station 6 (lbbeneaththeboulders).
|
|
|
|
----Little boy bolt climbs----
|
|
From the grand prix, left from little boy beneath the boulders is a large hanging boulder. Traverse along massive choked boulder on left hand side of grand prix. Not derigged. Climbs up steep mud slope into rift that shortly forks (station 4). P15 qmc down from here, leads probably to lbbeneaththeboulders. Sketchy rift climb qmc from here, dispute about seeing a human sized passage beyond here.
|
|
|
|
</pre>
|
|
</dl>
|
|
|
|
<hr>
|
|
<!-- ------------------- Do not touch anything below here either ------------------------>
|
|
|
|
|
|
<!--2020-03-26--> Testing area..
|
|
<div id="demo">Demonstation text as initially read from disc</div>
|
|
<script>
|
|
document.getElementById("demo").innerHTML = "Demonstation innerHTML change CONFIRMED";
|
|
</script>
|
|
|
|
<!--Bother. The DOM is not carried across to the _edit page. It looks like the _edit page just re-reads
|
|
the original file from disc. So storing changes done by js will mean working directly with the POST action and a form. -->
|
|
<script>
|
|
// TO DO - make the <dt> italic when any of the <dd> following it are hidden.
|
|
|
|
// Set up the click handlers:
|
|
var itemlist = document.getElementsByTagName('dd');
|
|
for (i = 0; i < itemlist.length; i++) {
|
|
itemlist[i].onclick = hideable;
|
|
}
|
|
|
|
var itemlist = document.getElementsByTagName('dt');
|
|
for (i = 0; i < itemlist.length; i++) {
|
|
itemlist[i].onclick = showable;
|
|
}
|
|
function showable () {
|
|
// When clicking on a <dt> item, show or not all the following <dd> elements
|
|
if (this.style.fontStyle != "italic") {
|
|
this.style.fontStyle = "italic";
|
|
} else {
|
|
this.style.fontStyle = "normal";
|
|
}
|
|
var ddO = this.nextElementSibling;
|
|
while((ddO !== null) && (ddO.nodeName.toLowerCase() == 'dd')){
|
|
if (this.style.fontStyle != "normal") {
|
|
ddO.style.display = 'none';
|
|
} else {
|
|
ddO.style.display = 'block';
|
|
}
|
|
ddO = ddO.nextElementSibling;
|
|
}
|
|
|
|
}
|
|
|
|
function hideable () {
|
|
// When clicking on a <dd> item, show or not itself
|
|
var x = this;
|
|
if (x.style.display != "block") {
|
|
x.style.display = "block";
|
|
} else {
|
|
x.style.display = "none";
|
|
}
|
|
}
|
|
|
|
function h2toggle () {
|
|
// When clicking on a <h2> item, toggle the display of absolutely everything
|
|
var itemlist = document.getElementsByTagName('dd');
|
|
for (i = 0; i < itemlist.length; i++) {
|
|
x = itemlist[i]
|
|
if (x.style.display != "block") {
|
|
x.style.display = "block";
|
|
} else {
|
|
x.style.display = "none";
|
|
}
|
|
}
|
|
var dtlist = document.getElementsByTagName('dt');
|
|
for (i = 0; i < dtlist.length; i++) {
|
|
x = dtlist[i]
|
|
if (x.style.fontStyle != "normal") {
|
|
x.style.fontStyle = "normal";
|
|
} else {
|
|
x.style.fontStyle = "italic";
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
<hr /></body>
|
|
</html>
|