MediaWiki:Vector.js: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:


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>&nbsp;<a href='https://www.wikidoc.org/index.php/GFR'>GFR calculation</a>&nbsp;|&nbsp;<a href='https://www.wikidoc.org/index.php/TIMI_risk_score'>TIMI Risk Score</a>&nbsp;|&nbsp;<a href='https://www.wikidoc.org/index.php/The_GRACE_risk_score'>Grace Risk Score</a></p>");
}
}



Revision as of 16:44, 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>&nbsp;<a href='https://www.wikidoc.org/index.php/GFR'>GFR calculation</a>&nbsp;|&nbsp;<a href='https://www.wikidoc.org/index.php/TIMI_risk_score'>TIMI Risk Score</a>&nbsp;|&nbsp;<a href='https://www.wikidoc.org/index.php/The_GRACE_risk_score'>Grace Risk Score</a></p>");
}








});