Widget:WJG Sandbox: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 755: | Line 755: | ||
$("#examSpace").html(htmlStuff); | $("#examSpace").html(htmlStuff); | ||
$("#examSpace").prepend("<div id='details' style='display:none'> | $("#examSpace").prepend("<div id='details' style='display:none'> <table class="tg"> <tr> <th class="tg-031e">Sodium (Na+)</th> <th class="tg-031e">135-145 mEq/L</th> </tr> <tr> <td class="tg-031e">Potassium (K+)</td> <td class="tg-031e">3.5-4.0 mEq/L</td> </tr> <tr> <td class="tg-031e">Chloride (Cl-)</td> <td class="tg-031e">95-105 mEq/L</td> </tr> <tr> <td class="tg-031e">Bicarbonate (HCO3-)</td> <td class="tg-031e">22-28 mEq/L</td> </tr> <tr> <td class="tg-031e">Magnesium (Mg2+)</td> <td class="tg-031e"></td> </tr></table></div>"); | ||
if (exam.examQuestions[exam.currentQuestion].selectedAnswer !== 'F') { | if (exam.examQuestions[exam.currentQuestion].selectedAnswer !== 'F') { | ||
$("#" + exam.examQuestions[exam.currentQuestion].selectedAnswer).addClass("boxed"); | $("#" + exam.examQuestions[exam.currentQuestion].selectedAnswer).addClass("boxed"); | ||
Line 786: | Line 786: | ||
}) | }) | ||
$("#lab_vals").click(function(){ | $("#lab_vals").click(function(){ | ||
$("#details").slideToggle("slow"); | $("#details").slideToggle("slow");}); | ||