MediaWiki:Vector.js: Difference between revisions
Jump to navigation
Jump to search
Matt Pijoan (talk | contribs) No edit summary |
Matt Pijoan (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
$(document).ready(function(){ | $(document).ready(function(){ | ||
if(window.location.pathname.substring(window.location.pathname.lastIndexOf("/") + 1 === "Textbook_of_clinical_trials"){ | if(window.location.pathname.substring(window.location.pathname.lastIndexOf("/") + 1) === "Textbook_of_clinical_trials"){ | ||
$("#wikidocNav").prepend("<p><b>Study Tools</b><a href='https://www.wikidoc.org/index.php/GFR'>GFR calculation</a>|<a href='https://www.wikidoc.org/index.php/TIMI_risk_score'>TIMI Risk Score</a>|<a href='https://www.wikidoc.org/index.php/The_GRACE_risk_score'>Grace Risk Score</a></p>"); | $("#wikidocNav").prepend("<p><b>Study Tools</b><a href='https://www.wikidoc.org/index.php/GFR'>GFR calculation</a>|<a href='https://www.wikidoc.org/index.php/TIMI_risk_score'>TIMI Risk Score</a>|<a href='https://www.wikidoc.org/index.php/The_GRACE_risk_score'>Grace Risk Score</a></p>"); | ||
} | } |
Revision as of 16:43, 25 October 2019
$(document).ready(function(){ if(window.location.pathname.substring(window.location.pathname.lastIndexOf("/") + 1) === "Textbook_of_clinical_trials"){ $("#wikidocNav").prepend("<p><b>Study Tools</b><a href='https://www.wikidoc.org/index.php/GFR'>GFR calculation</a>|<a href='https://www.wikidoc.org/index.php/TIMI_risk_score'>TIMI Risk Score</a>|<a href='https://www.wikidoc.org/index.php/The_GRACE_risk_score'>Grace Risk Score</a></p>"); } });