4e620539ffe19c3fff4e3cd3d3f9070f42df342f jnavarr5 Thu Nov 14 16:20:36 2024 -0800 Changing the name of the function that generates the Tutorial popup to 'createTutorialPopup'. Removing the 'getDb()' function since it already exists it utils.js. Using the already existing function to open the Recommended Track Sets in the clinical tutorial. Making a change to only export the tutorials if they don't already exist. Making text changes to the popup, refs #34208 diff --git src/hg/js/tutorials/hgTracksPopup.js src/hg/js/tutorials/hgTracksPopup.js index d7c20c3..3ded1dc 100644 --- src/hg/js/tutorials/hgTracksPopup.js +++ src/hg/js/tutorials/hgTracksPopup.js @@ -1,85 +1,77 @@ // funtion to create the pop-up on hgTracks -window.openTutorialPopup = function() { +window.createTutorialPopup = function() { // Create the pop-up container const tutorialDiv = document.createElement("div"); tutorialDiv.id = "tutorialContainer"; + tutorialDiv.style.display = "none"; // Create the contents for the popup tutorialDiv.innerHTML = `
These interactive tutorials will provide step-by-step guides to help navigate through various tools and pages on the UCSC Genome Browser.
-Basic tutorial | An introductory tutorial designed to help new users navigate the UCSC Genome Browser. Learn how to configure display settings, search for tracks, and view the negative strand (3' to 5'). |
Advanced tutorial for clinicians (only available on hg19 & hg38) |
A tutorial aimed to educate clinical geneticists and showcase resources that
may be useful in variant interpretation.
Learn how to search for variants, view recommended track sets, and save your configuration settings to share with others. |