• Rewind
  • Restart
  • Bookmark
  • This story was created with Twine and is powered by TiddlyWiki
.disorder {\n\tcursor: pointer;\n}
Diagnostic criteria:\n\nSix or more of the following symptoms:\n\n<html>\n\n<p id="disorder_0" class="disorder" />\n<p id="disorder_1" class="disorder" />\n<p id="disorder_2" class="disorder" />\n<p id="disorder_3" class="disorder" />\n<p id="disorder_4" class="disorder" />\n<p id="disorder_5" class="disorder" />\n<p id="disorder_6" class="disorder" />\n<p id="disorder_7" class="disorder" />\n<p id="disorder_8" class="disorder" />\n\n</html>
<html><a href="https:/twitter.com/precisememory">@precisememory</a></html>, with help from DSM-V authors
//requires jquery\n\nfunction populate(id) {\n\tdocument.getElementById(id).innerHTML = getDsm();\n}\n\nfunction getDsm() {\n\treturn dsm[Math.floor(Math.random()*dsm.length)];\n}\n\nfunction initialPopulate() {\n\tfor(var i = 0; i < 9; i += 1) {\n\t\tvar id = "disorder_" + i;\n\t\tpopulate(id);\n\t\t\n\t\tdocument.getElementById(id).onclick = function() { populate(this.id); };\n\t}\n}\n\nprerender.loadme = function() { \n$.getScript("http://decusatis.net/annie/dsm_markov.json", function()\n{\n\tinitialPopulate();\n});\n};\n
Six or More of the Following Symptoms