4bbcb518f7afc645dd1918d25bc8fab113613d15 angie Mon Aug 18 16:48:16 2025 -0700 Add tgpLorax.html, use printIframe with already-defined settings, add winStart and winEnd to lorax iframe URL. diff --git src/hg/js/lorax.js src/hg/js/lorax.js index 9eaedb0dbdc..bb47aac8c43 100644 --- src/hg/js/lorax.js +++ src/hg/js/lorax.js @@ -1,8 +1,10 @@ // Lorax multi-tree viewer: functions for integrating with hgc view // Copyright (C) 2025 The Regents of the University of California -function loraxView(chrom, start, end) { - console.log("Hello from lorax.js:loraxView. chrom is", chrom, ", start is", start, ", end is", end); - console.log(document.getElementById("loraxIframe")); +function loraxView(chrom, gStart, gEnd, rStart, rEnd) { + console.log("Hello from lorax.js:loraxView. chrom is", chrom, + ", (genomiccoords) window start is", gStart, ", window end is", gEnd, + ", (region) item start is", rStart, ", item end is", rEnd); + console.log(document.getElementById("hgcIframe")); }