title: how to detect from where a tab is getting activated?
body: <p>I have a website in which the main menu is composed of horizontal and vertical tabs.
  Out of these I have first horizontal and vertical tab active at page reload.Also when i change the horizontal tabs the vertical tab contents also change. Now i want to detect certain parameters in url and if present then redirect to tabs that are not active on page load. I have tried the following </p>
  
  <ul>
  <li>removing by default active of initial tabs from index</li>
  <li>adding (if parameters present) the class "active"</li>
  <li>adding class active at the end of every javascript</li>
  </ul>
  
  <p>I tried debugging the four javascripts that get loaded with the page but somehow after everything gets loaded the by default tabs get activated and none else.
  The only thing that worked and which is obviously not a feasible solution was i added class active at the end of logger.js that to after an interval of 3 seconds.</p>
  
  <p>what might be happening? has anybody experienced this?</p>