Freeze Linear Genome View Header/toolbar #3521
-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
good question... this sometimes this is called "sticky" positioning in webdesign (example https://www.w3schools.com/howto/howto_js_sticky_header.asp) we don't have this currently but may be a good add-on! the other option is making all the tracks of the linear-genome-view go into a scroll container so the linear-genome-view area doesn't get too tall. this could be a good option for some people. just curious, do you use the jbrowse-web app or the embedded component? random note: one way your users may be able to get a small amount of benefit currently is by holding shift and then "click and drag" the mouse anywhere inside the linear genome view, this will give them a region selection similar to doing so on the header bar. this can then get the sequence, show a coordinate indicator, etc short screencap: i am holding shift and then clicking and dragging Screencast.from.2023-02-16.10-29-10.webm |
Beta Was this translation helpful? Give feedback.
-
For freezing the header tool bar, I did a JavaScript. I disabled the vertical scrolling on the webpage, hidding it. However, I had to enable horizontal scrolling while keeping the vertical scrolling disabled. As a result, the horizontal scrolling is permitted, but any attempt to scroll vertically will be reset to the top of the page immediately. // Enable horizontal scrolling Tell me if it's working for you! |
Beta Was this translation helpful? Give feedback.
good question... this sometimes this is called "sticky" positioning in webdesign (example https://www.w3schools.com/howto/howto_js_sticky_header.asp)
we don't have this currently but may be a good add-on!
the other option is making all the tracks of the linear-genome-view go into a scroll container so the linear-genome-view area doesn't get too tall. this could be a good option for some people. just curious, do you use the jbrowse-web app or the embedded component?
random note: one way your users may be able to get a small amount of benefit currently is by holding shift and then "click and drag" the mouse anywhere inside the linear genome view, this will give them a region selection simil…