Skip to content

how to use local-session in url #4267

Discussion options

You must be logged in to vote

" I want user can see these things when they open the website (some tracks are selected and the hierarchicalTrackSelector is opened)."

you might consider using the URL param api, it has an easier to use interface than sessions

example

https://myip/?loc=1:1-100&assembly=Mmul_10&tracklist=true&tracks=track1,track2,track3

this navigates to a particular location, for a particular assembly, with some tracks turned on by default, and with the track selector turned on by default, on page load

you can put this URL as the iframe src if you are using iframe embedding

currently the "sessions" are difficult to construct programmatically, so the &tracks, &loc, &assembly, etc are a simplified method fo…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@cmdcolin
Comment options

@Jasonzzzzzzzzzzzzzz
Comment options

@cmdcolin
Comment options

Answer selected by Jasonzzzzzzzzzzzzzz
@Jasonzzzzzzzzzzzzzz
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants