98487640ecf986c00fb0a13739323cc78d107601 jnavarr5 Wed Nov 13 16:52:46 2024 -0800 Updating the basic tutorial link to use the basic tutorial now that it is working. Updating the popup to have more descriptive text and other CSS options, refs #34208 diff --git src/hg/js/tutorials/hgTracksPopup.js src/hg/js/tutorials/hgTracksPopup.js index 21e3714..a8eabb0 100644 --- src/hg/js/tutorials/hgTracksPopup.js +++ src/hg/js/tutorials/hgTracksPopup.js @@ -1,62 +1,71 @@ // funtion to create the pop-up on hgTracks window.openTutorialPopup = function() { // Create the pop-up container const tutorialDiv = document.createElement("div"); tutorialDiv.id = "tutorialContainer"; // 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.

Genome Browser tutorials

- - - - +
+
Basic tutorial - Some description about the first 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 - Some explaination about why you would use this tutorial over another - (only available on hg19 & hg38) +
+ 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. +
`; document.body.appendChild(tutorialDiv); $("#tutorialContainer").dialog({ modal: true, title: "All Interactive Tutorials Available", draggable: true, resizable: false, width: 650, /* buttons: [{ text: "Close", click: function() { $(this).dialog("close"); } }],*/ position: {my: "center top", at: "center top+100", of: window} }); // Function to control the basic tutorial link document.getElementById('basicTutorial').addEventListener('click', function(event) { event.preventDefault(); $("#tutorialContainer").dialog("close"); - clinicalTour.start(); + basicTour.start(); }); // Function to control the clincial tutorial link document.getElementById('clinicalTutorial').addEventListener('click', function(event) { event.preventDefault(); $("#tutorialContainer").dialog("close"); clinicalTour.start(); }); };