Go to specific tab using render_template

by: antonio, 8 years ago


Hello there. Thank you so much for your flask tutorial videos. I have the tab panel but each tab should lead me a to a different html page. This is because is too much data to be handled by only one html page. Having a page per tab will be easier to manage. I got to render the first tab with no problem, but the second tab (different html) does not show the content, although the content is ok (highchart). How can I go to a specific tab in a specific html using flask render_template? Thank you so much.



You must be logged in to post. Please login or register an account.



I really don't fully understand your question.

It depends how you've setup the tabs, they can be done in many ways. Tabs can lead to new pages, or actually just be javascript that "hides" what's not on the tab being currently viewed (but is still loaded on the page's load) and then there are jquery tabs that will allow you to stay on the same page, but not actually load the content until a request is made.

-Harrison 8 years ago

You must be logged in to post. Please login or register an account.