title: How to redirect to a tab of a new page in Framework7?
body: <p>So lets say i have four images. I click on #3 and it should lead me to a page, where it opens tab #3 and so on. The problem is, the app does not know the classes beforehand. Only if i have opened the page before, it works correctly.</p>
  
  <pre><code>myApp.onPageInit('page-1 page-2', function (page) {
      $$('.show-tab-of-page2').on('click', function () {
          mainView.router.loadPage('page2.html');
          myApp.showTab('#tab-of-page-2');
      });
  });
  </code></pre>